Probleme to resize image background cover
Hi there,
I try to resize cover image in my blog with the helper cloudinary, but the problem the image comes to disform how to reduce size (width x height) with no conflicts.
I don't understand good the documentation.
Here is the actual example with a cover image too BIG !!!
Please check an example : http://synestasia.herokuapp.com/posts/20
Thank you for your clear explaination.
-
Hi,
Sorry for the very late reply, we have noticed that this request was left unattended. I guess this is not relevant anymore but for future reference -You can resize the image by specifying its width and height (w and h in the URL, respectively). For example, resizing the image to a 200X200 image:
http://res.cloudinary.com/demo/image/upload/w_200,h_200/v1312461204/sample.jpg
You can add the crop (c in the URL) parameter to choose how to "adapt" the image to the new dimensions -
http://res.cloudinary.com/demo/image/upload/w_200,h_200,c_fit/v1312461204/sample.jpg
Hope this helps, good luck!
Post is closed for comments.
Comments
1 comment