Niels-IO / next-image-export-optimizer

Use Next.js advanced <Image/> component with the static export functionality. Optimizes all static images in an additional step after the Next.js static export.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lowest quality images are used in the dev mode

Rashair opened this issue · comments

Although the optimisation seem to work in the exported mode, the correct image quality is not loaded in the dev mode.

image

The correct image size seems to be loaded though
image

The problem disappears when I delete the local optimised folders / disable the background property.
It seems like the background overlays the image.

commented

Could you please explain in more detail why you concluded that the correct image size is not loaded?

Because I see it - it's blurred. I'm not sure if the if it's indeed that the correct image size is not loaded or the blur is somehow overlapping the real picture, because when I disable the background via browser console it's being displayed clearly.

commented

Hi @Rashair,

I think I found the issue. Could you please update to the latest version and check if everything works as expected now?

Hi :) Yes, it works now (v.1.1.2) - I don't see any difference in dev and exported mode 🙇🏻‍♂️
Thank you, you're doing a great job with this lib 💪🏻