Hello,

I think that your module is very excellent and holds a lot of promise for the future of image handling in drupal. I have been playing around with it to see if it might work for my companies' website.

One thing I have encountered that I can't quite figure out is how do I scale and crop without it resulting in a square image. I have tried messing with the settings of my imagecache preset, but I seem to always be presented with a square cropping box that I cannot turn into a rectangle.

Thanks again and I look forward to hearing your response. Great work!

Sean

Comments

ndeschildre’s picture

Hello,

An imagecache preset using scale_and_crop is by nature of a fixed ratio. So if you have created a square preset, the cropping box will stay square, you will only be able to zoom and/or move it.
Using this kind of preset is natural, since you won't want your editors to be able to choose any image format!

So let's say you want your image to be visible in two place in the website, one square, one rectangle, then create two separate presets (using Imagecache UI or programmatically, see README.txt), and select them in the field config. You can see it on www.rfi.fr, where the frontpage story is a wide rectangle, but if you go to the story page, you will get a regular 4/3 image.

Hope it was helpful

pyrello’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing as outdated