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

Add support for Picture element

stavros-k opened this issue · comments

Use case:

I'd like to display a completely different image on some screen widths. (eg different orientation etc)

Thanks!!

Hi @stavros-k,

I would argue that this is best left to each individual use and it could be done with a JavaScript conditional in your code.