Have the following statement:
Code: Select all
<?php foreach ($images as $image) { ?>
<a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="fancybox" rel="fancybox">Click here for large image</a>
<?php } ?>
Need to display only the first "Click here for large image" as this links to a fancybox pop-up that can then be scrolled left or right to reveal more additional images (would be satisified with that solution) but to achieve this the code still needs to run just not echo the text link multiple times.
FYI: the additional images change the main 'zoomable' image when clicked hence the need for this extra link.
Guessing this is pretty simple PHP but am struggling to find an answer i can understand elsewhere so hope someone can help.
Version 1.5.1.2 - link: http://oceanlifestyle.com/shop/Gifts/Na ... Gone-signs