Pages: 1
Hello/Hi/Greetings,
If you upload two photos with the same name in different categories, Piwigo will always show the first one.
I’ve uploaded photo-001.jpg to one category and different file with the same name to different category. Upload was using FTP.
Thumbnails are generated correctly, if you open category, you will se there correct thumbnail, but if you select any photo, wrong photo is shown (label and everything belongs to wrong photo). If you somehow manage to display correct photo and then want to show next one, wrong picture is displayed and if you go to previous picture, you will get previous picture from gallery, where is the “wrong” photo.
My problem seems to be very similar or the same as this issue: http://piwigo.org/forum/viewtopic.php?id=22830 – but this thread is more than a year without response.
Thank you in advance,
Sislik
Piwigo version: 2.7.1
PHP version: 5.3.3
MySQL version: 5.1.61
Piwigo URL: http://photos.tichava.cz/
problem was also in Piwigo 2.6
Offline
Hello
a concrete example ?
I followed your steps on my test gallery, no problem
there is certainly something else
--
http://galerie.strangeplanet.fr/index.php?/category/66
both files upload by FTP, one by one (a sync for the first and a sync for the second), exact same names
Offline
I think it's written in the comment near picture url style that file name must be unique if you use 'file'
Offline
Thank you for quick answer.
My problem was fixed by renaming file names and if I renamed it back, problem was back again.
check this category, thumbnails are correct:
http://photos.tichava.cz/index/category/34-garden
but if you click on a thumbnail, you will see photos from this gallery:
http://photos.tichava.cz/index/category … ionarspfad
Offline
good catch Rvelices, the problem is here because your forced "file"
change to "id-file" to avoid issues
Offline
before you ask : Piwigo is designed to allow one photo to be present in many albums, so we don't check in which album you curently are (saving ressources)
Offline
Thank you very much for your assistance, problem fixed!
I would probably never figured out this without your help.
Offline
Pages: 1