Image Cache - Using more than one presets

If you want to use two presets or more, you can use this code..

Sigh.. Wasting hours looking for this answer.. Silly me !

<?php
print theme('imagecache', $preset, $image['filepath'], $alt, $title, $attributes);
?>

This is the example…

<?php
print theme('imagecache', 'small', 'test.jpg', 'just a test image', 'test image');
?>

..

Leave a Reply