Hi have I got the concept of the code wrong? Because the thumbnail images are not being display. I did think it was because there is no echo statement in the thumbs image tag, but when I try to add in the echo I get a syntax error.
Also I am using javascript where when a user clicks on a thumbnail image it replaces the larger image (it works fine without php as using Owl Carousel 2) Also would the logic of this code mess up how the initial image displays (as the default image for the product wont have a -A, -B, -C etc appended on the end of the file name, only rhe additional product images will have those appended)
<div class="big-images">
<div><span class='zoom' id='ex1'><img src="libra/images/<?php echo($rsProduct->getColumnVal("ProductSKU")); ?>.jpg" /></span></div>
</div>
<div class="thumbs">
<?php
$letters = range('A', 'Z');
foreach ($letters as $letter) { ?>
<div><img src="libra/images/<?php if (file_exists ($rsProduct->getColumnVal("ProductSKU") . "-".$letter.".jpg")) ?>.jpg" /></div>
<?php } ?>
</div>
Chris