Problems with rotating images
AnsweredI don't understand why the following url works fine:
http://res.cloudinary.com/rentfair/image/upload/t_thumb_results/v1350490201/sample.png
but this url (with angle rotation added) doesn't:
http://res.cloudinary.com/rentfair/image/upload/t_thumb_results,a_90/v1350490201/sample.png
Both used to work fine and I have not changed the coding. It was only when checking recently that I discovered that adding a rotation now prevents the image from displaying. I spent several hours on this yesterday, using different combinations of transformation but can not get the angle transformation to work unless it is included within the named transformation, which is not what we want.
-
Hi Christian,
The 'X-Cld-Error' at the response header shows the answer, in this case 'Transformation t_thumb_results|a_90 is not allowed`.
The reason for that is that you enabled 'Strict transformations' for your account, hence users can publicly access only images created through named transformations or dynamic transformations that you specifically marked as allowed.
For more information:
http://cloudinary.com/blog/how_to_quickly_build_a_stock_photo_site_using_cloudinaryYou can allow a transformation using the API or web interface (e.g., disable 'Strict Transformations' mode, access the transformation URL, mark the transformation as allowed, and re-enable Strict Transformations).
0 -
Thanks for the prompt response, Itay. All clear, and working well now.
0
Post is closed for comments.
Comments
2 comments