When using the
f_auto parameter, the actual format to be fetched is determined on the CDN level. Therefore the
f_auto component must remain visible to the CDN and cannot be used within a named-transformation. More about the automatic format feature can be found here.
The automatic quality transformation parameter (
q_auto) is effective in named transformations, except in one situation.
q_auto is used in a delivery URL and the browser sets the
Save-Data HTTP header to
on in the request,
q_auto is translated to
q_auto:eco at the CDN level. If this parameter is hidden in a named transformation then it is not visible to the CDN, so the default level is applied,
To accommodate this situation, you may prefer to use
q_auto together with a named transformation by chaining the components, for example,
Would it be possible to feed it named-transformation + extra overwrite parameters.
For ex. http://res.cloudinary.com/demo/image/upload/my-named-transformation,f_auto/sample.jpg
That way the CDN knows what format to fetch but the named trans will also be applied (the format will be overwritten of course)
Hi Miro, of course this is definitely possible.
Take this for example: http://res.cloudinary.com/demo/image/upload/t_fit_100x150,f_auto/sample.jpg
That is awesome. Thanks! It can be used as workaround.
One other thing:
Why can't named-transformations be set to "Don't change" format?
Upon saving it, it auto chains another trans with Format: JPG
Is this default behavior and why?
For example. This is a normal gif:
Here's named trans `thumb_240` applied and it's not longer animated because the named-trans overwrites the format to jpg
If I force the format to gif (or t_auto) it work:
Why can't it just serve the original format based on the extension? Or am I not getting it?
Named-transformations support fixing the format to a specific value using the Format field. However not changing it requires either utilizing the original extension (concatenated to the public ID) or removing the extension, e.g.:
Please sign in to leave a comment.