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

Re: repeat area > add new image > can't add new image link

Hi Richy, I understand what you mean. We'll get it sorted for you and let you know once it's working.

We are working on an image gallery at the moment which will be a better solution when we launch it - hopefully within the next 2 weeks.

Re: repeat area > add new image > can't add new image link

Hey Simon any joy on the above?

Re: repeat area > add new image > can't add new image link

It's not going to be long - we've been entertaining ourselves by moving the whole system over to new faster servers lately and as such this has taken priority. It will be soon though as it's a much-requested and important feature.

Re: repeat area > add new image > can't add new image link

Any update on this guys?

Re: repeat area > add new image > can't add new image link

Hi Richy, sorry for the delay. This should be working now. I re-created the problem on a test site of mine and the solution works on my test site. Which page do you have the repeat image on so I can test it?

Re: repeat area > add new image > can't add new image link

Hi Simon,

Great thanks,

I have this feature on many pages but it's all with the same mark-up. you can try it on this one http://www.bcakestudio.co.uk/celebration-cakes.html

I think it is working. If you could just confirm that it would be great.

Richy

Re: repeat area > add new image > can't add new image link

Hi Richy, thanks for the link. I've given it a test and it's working for me

Cake is good :)

Re: repeat area > add new image > can't add new image link

Hi - would you be able to post the code used for this as I can see it being really useful for people to have this as a resource....thanks

Re: repeat area > add new image > can't add new image link

Hi Charles, I've updated your tutorial to include the details:
http://smplc.ms/repeatregions