cyrilwanner / next-optimized-images

🌅 next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

images.config.js default doesn't add native props

WillSquire opened this issue · comments

Expected the following config would result in decoding="async" being added to all images:

default: {
  decoding: "async",
  densities: [1,2,3],
  webp: true,
},

This didn't happen. Also densities didn't work (and is broken when it tries to work using it on the Img component - my retina screen loads the lowest resolution). Would be nice for loading: 'lazy' to work too.