You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This idea doesn't actually make sense given the way this plugin works at the moment - it embeds base64 images directly into the page, which results in a BIG increase in the size of the output HTML and no opportunities for lazy loading:
In order to add lazy loading I'd need to change how the images are served, switching to having them link to a new endpoint (or output renderer) which returns the image read from the database table.
I'd need to think carefully about the security of doing this, since serving content from potentially untrusted sources could result in XSS or similar if not done with care.
https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading
This could help avoid loading a hundred images on a page with a table that doesn't ever get scrolled.
The text was updated successfully, but these errors were encountered: