Lightbox
Posted: Mon Jun 06, 2011 8:21 pm
This code here:
If you click on an image (For example test.png) it opens it in Slim Box. I'd for that code to be able to do this:
You click on "test.png" and "test_LRG.png" opens in slim box. Pretty much all I need to do to the code is somehow to tell it to add _LRG to the end of the image path.
To view the code above in action, go here: http://bit.ly/kpKJyK
Code: Select all
<a class="lightbox" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>"><img class = "jshop_img_thumb" src = "<?php print $this->image_product_path?>/<?php print $image->image_thumb?>" alt = "<?php print htmlspecialchars($this->product->name)?>" /></a>You click on "test.png" and "test_LRG.png" opens in slim box. Pretty much all I need to do to the code is somehow to tell it to add _LRG to the end of the image path.
To view the code above in action, go here: http://bit.ly/kpKJyK