Aspect Ratio in Named transformation
How do I add aspect ratio to a named transformation?
There is no such option in the Action list.
I tried to add it manually in Additional transformations by entering ar_9:13 (which works if I add it to an URL as filter) but I got an error saying that something went wrong. What do do?
-
Hi there,
Thanks for reaching out.
I think you might have had an error with your syntax. It's hard to say without seeing what you entered into the Additional Transformations field. The transformation string should have looked like this `ar_9:13,c_pad` or `ar_9:13,c_pad,b_white`
Can you let me know if this was the syntax you used when you got the error message? If you only entered `ar_9:13` that is definitely a syntax error, because the aspect ratio transformation must be used in conjunction with a crop or resize mode. You can find that documentation here: https://cloudinary.com/documentation/transformation_reference#ar_aspect_ratioKind Regards,
Tia
Post is closed for comments.
Comments
1 comment