On my site I have multiple galleries, so the pictures are in different gallery-folders but sometimes have the SAME file name (001.jpg)
The thumbnails are always displayed correctly, but if I want to look at the big picture with slimbox, then slimbox shows me the wrong picture (same name, but different folder).
How can I correct this whithout renaming the pictures?
Hmm.. so you must have multiple pictures visible on the same page that are drawn from other galleries and some of the pictures share same filenames? right? I guess that’s a bug/limitation in slimbox.. you could put the pictures in their own slimbox picture sets, so that pictures from each gallery are opened in their own slimbox picture set, but I don’t know if it would suit in your case for your site... anyways, that can be done by replacing rel="lightbox[maxigallery]" in the galleryPictureTpl template with rel="lightbox[maxigallery[+maxigallery.picture.gal_id+]]"..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
No, the files are in different picturesets. The thumbnails are listed correctly, but when I browse the pictures with slimbox, I get the pictures of another folder (only the ones, which have the same filename).
Is the page online and can I have the url? or could you post the HTML source of the page...
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Hmm.. I think that the pictures are somehow messed up.. eg. the thumbnails do not point to the same image.. the thumbnail of the second picture (
http://www.despina.ch/assets/galleries/63/tn_001.jpg) actually points to the one that is show in slimbox, eg.
http://www.despina.ch/assets/galleries/63/001.jpg and they both come from the same gallery (with doc id 63).. so there’s something funny going on with the thumbnails..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Oh, I see. I’ll try to re-upload the pictures and give it another try. I’ll give you feedback here.