Thanks for the reply...
I have used the path to the full size image but that is not what I want...
<a href="gallery_images/<?php echo $row_rsImages['filename']; ?>" rel="enlargeimage" rev="targetdiv:loadarea,link:http://somewhere.com">
I want a thumbnail image...
How do I specify a path to generate a new dynamic image?