Topic: repeat area > add new image > can't add new image link
Having a slight issue with the repeat are function on my image galleries.
This is aimed more at Simon and the simpleCMS team but if anyone else has any ideas then let me know.
Basically I have a light-box plugin working on most of my websites galleries. I have added the edit-repeat class to the thumbnails which allows me to duplicate a thumb and then change the thumb to a new image. Now when the thumbnail is clicked (in real time) it simply opens the same fullsize image as the object that was duplicated before. So I assumed if I changed the "update link" to the correct fullsize image path then that should work. And it did. The new fullsize image opened when the new thumbnail image was clicked. But the problem is that the "update link" to the original thumbnail that we duplicated in the first place has also now changed to the new one entered.
So the code now looks like for example:
<a href="images/gallery_image_5.jpg" rel="lightbox" id=n18">
<img class="gallery-image edit-repeat" src="http://www.fromtipstotoes.co.uk/images/gallery_image_4_thumb.jpg" width="160" height="120" alt="" id="n16"/>
<img class="gallery-image edit-repeat" src="http://www.fromtipstotoes.co.uk/images/gallery_image_5_thumb.jpg" width="160" height="120" alt="" id="n17"/>
</a>
When it should look like this:
<a href="images/gallery_image_4.jpg" rel="lightbox" id="n18">
<img class="gallery-image edit-repeat" src="http://www.fromtipstotoes.co.uk/images/gallery_image_4_thumb.jpg" width="160" height="120" alt="" id="n16"/>
</a>
<a href="images/gallery_image_5.jpg" rel="lightbox" id=n19">
<img class="gallery-image edit-repeat" src="http://cms.simplecms.com/tmp/sites/25332/0-cms-0-1-marys-nails.jpg" alt="" id="n11"/>
</a>
Basically it's not duplicating the area with it's own link and it's using the same "update link" to the fullsize image for both thumbnails.
What I need is for a thumbnail to be duplicated (repeated) but when the image link is changed then it's changed for that thumbnail only.
Hope you understand what I mean - I tried to explain the best I could.
Richy