Archive for the ‘Image Cache’ Category

Image Cache - Using more than one presets

Monday, October 27th, 2008

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');
?>

..