If Preset
Categories
Component ID
1078718
Component name
If Preset
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
448
Component created
Component changed
Component body
If preset provides a new imagecache preset to render convert images based on its dimensions.
Also, allows to do not perform an action if the conditions are not met. So, for example you can scale and crop an image only if the ratio (ratio = width/height) is bigger than 1.5.
The current actions that this imagecache preset provides are:
- Scale
- Scale and crop
- Do nothing
All the information is storaged in one preset. Therefore, you don't need to create multiple presets to scale an horizontal or vertical image.
