Closed (outdated)
Project:
Uberimage
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2009 at 16:19 UTC
Updated:
7 Jun 2023 at 13:30 UTC
Jump to comment: Most recent
Comments
Comment #1
ndeschildre commentedHello,
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
Comment #2
pyrello commentedClosing as outdated