From a module I'm calling image_style_create_derivative($style, $source, $destination) which eventually invokes image_effect_apply and that itself is looking for functions normally defined in image.effects.inc. But while going down this route that inc file isn't loaded and hence the functions are not found and therefore not applied. When calling include_once(drupal_get_path('module', 'image') .'/image.effects.inc'); first thing in the own module, all works fine.
Comments
Comment #1
davyvdb commentedWe have this in now...
Comment #3
barsand commentedimage.effects.inc on line 155 fails for me.
Fatal error: Call to undefined function image_dimensions_scale() in /home/content/98/8186398/html/modules/image/image.effects.inc on line 155