CMS Photo Gallery - resizing to exact pixel dimensions

5 posts by 5 authors in: Forums > CMS Builder
Last Post: February 24, 2010   (RSS)

By meg - February 19, 2010

I know you can set max pixel dimensions for thumbnails, but is there a way for the image to resize to exact pixel dimensions (width and height) without distortion? Is there a plugin for this?

Also have you considered getting rights to use a third party image croppers like these and integrate them into your photo gallery tools?

http://kroppr.rborn.info/
http://uvumitools.com/crop.html
http://deepliquid.com/content/Jcrop.html

Re: [gkornbluth] CMS Photo Gallery - resizing to exact pixel dimensions

By Chris - February 22, 2010

Hi meg,

I believe you can crop images using CSS, but I'm not sure if that would satisfy your requirements.

Having CMS Builder crop your images for you isn't possible without some custom programming. We could definitely build a custom plugin to do this. Please let me know if you're interested in that.

I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [meg] CMS Photo Gallery - resizing to exact pixel dimensions

By Codee - February 22, 2010

I know you can set max pixel dimensions for thumbnails, but is there a way for the image to resize to exact pixel dimensions (width and height) without distortion?


"Resizing" an image and cropping are different graphic functions. With resizing only, the function is a vector-based or ratio function. As long as the original larger size is an exact perfect ratio to the smaller size then there is no distortion. The moment it's not a ratio you will have distortion. It's the way it is. It's math. Typically programs, kind of like the ones you mentioned, and a really old but good one called ImageMagik use a ratio to build the different size outputs BUT the ratio is applied after choosing whether the width or the height will be the dominant factor.

Re: [meg] CMS Photo Gallery - resizing to exact pixel dimensions

By Dave - February 24, 2010

Meg,

Thanks for those links, I've made a note of them for future consideration. Advanced image manipulation is something we intend to address at some point, but it's still a number of releases off.

Thanks!
Dave Edis - Senior Developer
interactivetools.com