Resizing images - width only
4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 31, 2011 (RSS)
I was wondering if there's a way to specify only the width of an image, although keeping it proportional? I've tried the resize option, which doesn't seem to work, as it also requires a height, and the thumbnail option indicates that I need to insert a height as well. I want the images to be a max. width of 590px, but don't care about the height. Then, I want to use this 590px size to then create the thumbnail of 200px x (the proportional new size). Is that possible, and if so how? This is only for some sections of the website, not all pages.
Thanks
Thanks
Re: [degreesnorth] Resizing images - width only
By Toledoh - March 30, 2011
Can you identify the width in the editor as 200px, then the height as 10000 or other large number. Then in the HTML code the width as width="200" and not specify the height?
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)
Re: [Toledoh] Resizing images - width only
Unfortunately, that doesn't work as the CMS system wants a height. (it's forcing me to enter a height field and if I put in a larger number it's in-proportionately scaling the main image.
Any other ideas?
Any other ideas?
Re: [degreesnorth] Resizing images - width only
By Toledoh - March 31, 2011
I'm not sure about that, maybe we are crossing wires.
At the bottom of the input validation section, where you identify the dimensions of the thumbnails, it says "Resized images maintain proportions, height and width are "maximum" values."
If you set the height to 100px, and the width to an extreme number, the images are still kept in proportion, it doesn't stretch the thumbnail, it takes it to 100px high and whatever corresponding width.
I think :)
At the bottom of the input validation section, where you identify the dimensions of the thumbnails, it says "Resized images maintain proportions, height and width are "maximum" values."
If you set the height to 100px, and the width to an extreme number, the images are still kept in proportion, it doesn't stretch the thumbnail, it takes it to 100px high and whatever corresponding width.
I think :)
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)