Reviving this conversation because I need some help
So basically, I don’t want users to experience this waiting time when b64 encoding is in progress(As I will be displaying more than 10 images from data table all together)
But if I directly store a b64, the code is so long that fetching it is impossible.
Any suggestions on how to solve this?
MOD NOTE: This post has been moved from an older topic; in general, we try to avoid reviving old topics that aren’t still directly relevant. If you have a question that relates to an old topic but is slightly different, please make a new topic linking to the old one rather than adding a post to the old topic.
So I have been trying to come up with a solution for this problem since a long time and yet had no luck.
I want images from my data tables to load faster. Lazy Media takes too much time to load. While it will not be noticeable with one or two images, my app involves heavy use of images from the Database. On many forms, more than 10 images are displayed from Database.
Now I tried lots of options but hit a dead end every time(I have also written about it on the forum before but here I will be properly describing the issue)
The first thing I did was try Base64 encoding. It failed because the string is so long that retrieving it from the database is not possible. Storing the images as Media and then converting them into base64 later was slow too due to the time taken to get bytes. Blob Media was also slow due to this problem.
Is there any solution for it?