strapi-community / strapi-plugin-local-image-sharp

Dynamically resize, format and optimize images based on url modifiers.
https://strapi-community.github.io/strapi-plugin-local-image-sharp/
65 stars 17 forks source link

Strapi Cloud support? #37

Open mikkeltschentscher opened 7 months ago

mikkeltschentscher commented 7 months ago

I have the plugin working locally. But after deploying to Strapi Cloud, I can't get it to work.

Without it, I get a media URL like so from Strapi Cloud: https://useful-spirit-ce54045004.media.strapiapp.com/Eupry_product_Catalog_2023_mockup_b7625dbeb4.jpg

With the installed plugin deployed in production, I get the following URLS in the frontend: https://useful-spirit-ce54045004.media.strapiapp.com/width_1536,height_1152,format_webp,quality_80/https://useful-spirit-ce54045004.media.strapiapp.com/Eupry_product_Catalog_2023_mockup_b7625dbeb4.jpg

The URLs are generated accordingly to my configuration. Allthough no optimizations are added.

It seems media URL's from Strapi Cloud are proxied through Cloudflare: https://useful-spirit-ce54045004.media.strapiapp.com

Is it possible to use with Strapi Cloud?