Image Resizer in an href
I am trying to use image resize with another script. The script reveals a larger image inside of a div using an href...
Does anyone know... what is the best way to insert a dynamic cached image in an href like below?
Thanks!
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1321208809944
ob_start();
?>
<a href="PATH TO LARGE CACHED IMAGE HERE" rel="enlargeimage" rev="targetdiv:loadarea,link:http://somewhere.com"><img src="images/<?php echo $row_rsImages['filename']; ?>" alt="" name="" width="32" height="32" /></a>
<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "image_cache", "crop", "", false));
} // End Cached Resized Image: ImageCacheInstance_1321208809944
?>