This is a follow up for the page I posted in the modules handbook, Custom image sharpening, http://drupal.org/node/259268. This seems like a better area to discuss any issues.

Firstly, the code is for a custom module for imageapi and imagecache v5.x-2.0.

This will not work with the older version 5.x-1 and will possibly need modification for v6.

I'm only running a patched head version of imageapi/imagecache v6 so I haven't tried this in v6 yet.

Comments

swentel’s picture

You should be aware that if imagecache is allready enabled and you then enable your own custom module with hook_imagecache_actions in it, you should add a hook_enable and hook_disable in your module that clears the cache table, otherwhise, your new action won't be available when you enable your module, or deleted when disabling the module.

  cache_clear_all('imagecache_actions', 'cache');