Closed (fixed)
Project:
ImageCache Actions
Version:
7.x-1.x-dev
Component:
Custom Actions Module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2012 at 05:52 UTC
Updated:
15 Jul 2012 at 09:51 UTC
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.