Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently custom actions don't work as a reference to utility.inc appears to be missing. I'm not sure if the reference is best placed here but if so then please can the following couple of lines be added to imagecache_actions: -
<?php
// Get context about the image.
+ // Load utility.inc from the imagecache_actions module.
+ module_load_include('inc', 'imagecache_actions', 'utility');
$GLOBALS['image_context'] = imagecache_actions_get_image_context($image, $data);
?>
Apologies for not making a proper patch. I haven't got the tools to do that here...
Thanks,
David
Comments
Comment #1
fietserwinThanks for reporting. I could not reproduce it initially, but that was because i had other sub-modules enabled that - apparently - always load this file.
Confirmed, patched and committed.