I still have not got this to work.
Thanks for your help.
I created a page and this is the code used from image resizer;
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1323139609713
ob_start();
?>
<img src="images/<?php echo $row_rsImages['filename']; ?>" width="300" alt="test" />
<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "image_cache", "proportion", "", true));
} // End Cached Resized Image: ImageCacheInstance_1323139609713
?>
And this is the generated path;
<img src="image_cache/images/proportion/adr20_w300_h482/adr20_11290527.jpg" width="300" alt="test" />
I need for the image to be dynamic.
I can't hard code to the larger image...
The original image name in the database is adr20.jpg and the original size is 600px wide.
There could be 1,000 images at any time, the width should be resized to 300px wide, the height will be determined by the original uploaded image, old images get deleted and new ones get created often.
When the user hovers over the small image it should reveal the larger, 300px wide, image in the div "loadarea"...
How do I make "image_cache/gallery_images/proportion/adr20_w300_h482/adr20_11290527.jpg" dynamic?
The small image works just like I want it...
Here is the small image and the link;
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1321208809944
ob_start();
?>
<a href="PATH TO LARGE 300PX WIDE 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
?>
How do I get the below into the href?
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1323139609713
ob_start();
?>
<img src="images/<?php echo $row_rsImages['filename']; ?>" width="300" alt="test" />
<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "image_cache", "proportion", "", true));
} // End Cached Resized Image: ImageCacheInstance_1323139609713
?>