Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
By jbrown on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x
Introduced in version:
7.9
Issue links:
Description:
2 optional keys have been added to hook_image_effect_info(). They are used to populate the <img> tags generated by theme_image_style():
- "dimensions passthrough": (optional) Set this item if the effect doesn't change the dimensions of the image.
- "dimensions callback": (optional) The function to call to transform dimensions for this effect.
See http://api.drupal.org/api/drupal/modules--image--image.api.php/function/...
and http://api.drupal.org/api/drupal/modules--image--image.effects.inc/funct...
Impacts:
Module developers