next-image-export-optimizer icon indicating copy to clipboard operation
next-image-export-optimizer copied to clipboard

Inline images for a blur placeholder

Open markvital opened this issue 4 months ago • 1 comments

Hi there,

I was wondering if it’s possible to inline blur placeholders as Base64 data URLs to reduce load time?

In my current project, I display 50 images in a grid on each page. Loading 50 placeholder images via HTTP as separate files seems to create unnecessary overhead. It would be great if this plugin could support inlining these placeholders to improve performance. I couldn’t find an option for this feature in the existing implementation.

Here’s an example of the current behavior: Screenshot 2024-10-18 at 6 26 52 PM

And here’s what I’d love to see: Screenshot 2024-10-18 at 6 26 52 PM copy

Thanks for considering this feature request!

markvital avatar Oct 19 '24 01:10 markvital