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

fietserwin’s picture

Status: Active » Fixed

Thanks 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.