nuxt / image

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

Nuxt Image Cloudflare Provider Serious Bug #1544

Open nafiz6629 opened 2 weeks ago

nafiz6629 commented 2 weeks ago

https://image.nuxt.com/providers/cloudflare#options In this Documentation there is written "/cdn-cgi/image/" will be automatically appended for generating URLs , Which is wrong. Proper prefix that should be appended is "/cdn-cgi/imagedelivery/" (reference: https://developers.cloudflare.com/images/manage-images/serve-images/serve-from-custom-domains/#custom-paths ) Please Fix This Bug

masud-ictlayer commented 2 weeks ago

I am also facing same problem. Please Fix This Bug

atiflayer commented 2 weeks ago

I faced the same issue too. Please fix this problem asap. Thank you!

ictLayerPulock commented 2 weeks ago

I encountered the same issue as well. Kindly resolve this problem as soon as possible. Thank you!

oritwoen commented 2 weeks ago

This is not a bug nor a problem.

Everything working correctly with /cdn-cgi/image/

ICTLAYER commented 2 weeks ago

This is not a bug nor a problem.

  • /cdn-cgi/image/ and /cdn-cgi/imagedelivery/ are two different services.

Everything working correctly with /cdn-cgi/image/

I also agree with you, BUT as per documentation [ /cdn-cgi/image/ ] isn't working.

So please I need more elaborate documentation. Could you give us a more step-by-step guide?

Please check the reference:

https://developers.cloudflare.com/images/manage-images/serve-images/serve-from-custom-domains/

https://developers.cloudflare.com/images/transform-images/transform-via-url/

ICTLAYER commented 2 weeks ago

This is not a bug nor a problem.

  • /cdn-cgi/image/ and /cdn-cgi/imagedelivery/ are two different services.

Everything working correctly with /cdn-cgi/image/

I also agree with you, BUT as per documentation [ /cdn-cgi/image/ ] isn't working.

So please I need more elaborate documentation. Could you give us a more step-by-step guide?

Please check the reference:

https://developers.cloudflare.com/images/manage-images/serve-images/serve-from-custom-domains/

https://developers.cloudflare.com/images/transform-images/transform-via-url/

More as an example to prove myself with respect:

Not Working: https://nuxtimgtest.pages.dev/cdn-cgi/image/7mnVjFJmJT6C1-RIIlFtQg/cf0cac91-0a0e-4c86-c376-60597e37e700/public

Working: https://nuxtimgtest.pages.dev/cdn-cgi/imagedelivery/7mnVjFJmJT6C1-RIIlFtQg/cf0cac91-0a0e-4c86-c376-60597e37e700/public

@oritwoen @danielroe @renovate-bot @pi0 @atinux