image icon indicating copy to clipboard operation
image copied to clipboard

Update netlify provider docs for usage without large-media

Open JPOstholt opened this issue 2 years ago • 5 comments

Using nuxt-img with netlify actually works without setting up Netlify Large Media if you add the following to your nuxt.config.js

image: {
    provider: 'netlify',
    netlify: {
      baseURl: process.env.IMAGES_URL
    }
  }

If you agree that this makes sense I would add a PR 🙂

JPOstholt avatar Aug 03 '23 14:08 JPOstholt

That seems a great default!

danielroe avatar Aug 03 '23 14:08 danielroe

this would work with the ipx issue that target the wrong folder ? If we switch to netlify this way it would work ?

flozero avatar Aug 16 '23 17:08 flozero

No it is not working ! Images are there (instead of 404) but they are not optimized with this setup.

cfab avatar Dec 08 '23 09:12 cfab

⚠️ This is not a viable solution. As @cfab also said, images will load because they are exposed in /public, but no optimization will be applied to them...

@danielroe any plan for the replacement of Large Image Media ?

robinsimonklein avatar Dec 15 '23 21:12 robinsimonklein

Hello, any news on this rather blocking pbl ?

cfab avatar Jan 31 '24 19:01 cfab

I think this should be resolved in the latest version of the netlify provider.

danielroe avatar Apr 22 '24 13:04 danielroe