This project is not covered by Drupal’s security advisory policy.

If Preset module

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.

Project information