Creating custom ImageCache actions...

Last updated on
30 April 2025

You need to look at imagecache.module as an example.

You need to implement hook_imagecache_actions in your module.

The action data is cached so you should make sure you have the following in your install file..

<?php

function hook_enable() {
  cache_clear_all('imagecache_actions', 'cache');
}

function hook_disable() {
  cache_clear_all('imagecache_actions', 'cache');
}

?>

Help improve this page

Page status: Not set

You can: