cloudinary-community / netlify-plugin-cloudinary

Supercharge images on your Netlify site with Cloudinary!
https://netlify.cloudinary.dev/
MIT License
42 stars 18 forks source link

[Feature] Translate Netlify's Image Transformation parameters to Cloudinary params #60

Open akshay-ranganath opened 1 year ago

akshay-ranganath commented 1 year ago

Feature Request

Netlify offers a set of image transformations using three query parameters nf_resize, w and h. These parameters can be mapped to Cloudinary parameters c_, w_ and h_. Consider re-writing the Netlify URLs to Cloudinary URL format.

Additionally, if the setup has a default transformation, this may also need to be applied. For example, f_auto,q_auto.

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

colbyfayock commented 1 year ago

Large Media is officially deprecated: https://answers.netlify.com/t/large-media-feature-deprecated-but-not-removed/100804

probably makes even more sense to support it for people who want to transition away from this

i think this could also be expanded to support other cloudinary features but i wouldnt expect it to be all-encompassing as it could start to create issues between development and production which would lead to unexpected changes