nuxt / image

Plug-and-play image optimization for Nuxt applications.
https://image.nuxt.com
MIT License
1.29k stars 257 forks source link

Nitro preset 'Azure' gives 404 #1267

Open blowsie opened 4 months ago

blowsie commented 4 months ago

I still have the below issue https://github.com/nuxt/image/issues/675

Using Nuxt 3.10.3 with Nitro 2.9.0-28483347.32f1e6e

Example: https://victorious-bush-0eacd0103-32.westeurope.4.azurestaticapps.net/ PW: Devtest2024!

zerounix commented 4 months ago

Same for me in Azure preset. Pages which are prerendered in routerules have their Images generated to _ipx folder, but If rendered on the fly, Images will not load. Azure function returns 200 btw.

Can you maybe post your nuxt.config.ts here?

Is ipx provider meant to work both with prerendered and on the fly?

blowsie commented 4 months ago

Same for me in Azure preset. Pages which are prerendered in routerules have their Images generated to _ipx folder, but If rendered on the fly, Images will not load. Azure function returns 200 btw.

Nope, it returns 404 image

Can you maybe post your nuxt.config.ts here? I can but theres nothing in there that is relevant other than the confiruation of the module and nitro as per the referenced ticket

  nitro: { preset: 'azure' },
  modules: ['@nuxt/image'],

Is ipx provider meant to work both with prerendered and on the fly? Yes

blowsie commented 4 months ago

Tagging you here @pi0 :)

If you have encountered any issues regarding Azure, please let me now 👍🏼 (preferably please create a new issue with a recent reproduction so we can isolate any other possible issues to investigate 🙏🏼)

Originally posted by @pi0 in https://github.com/nuxt/image/issues/675#issuecomment-1893815902

owljackob commented 2 weeks ago

+1, any news on this?