I've got a WordPress Theme that utilizes TimThumb to produce pictures. I wish to have two links:
- A hyperlink fully size image
- A hyperlink to some thumbnail from the image
I've determined I'm able to link fully size image such as this:
<a href="<?php echo $thumbnail["fullpath"]; ?>">Link to full size image</a>
But how do you connect to a thumbnail from the image?
<a href="<?php echo str_replace('.jpg','_300x300.jpg',$thumbnail['fullpath']); ?>">Link to thumb</a>