Announcement

#1 2015-07-26 17:38:12

neek
Member
2015-06-14
15

Picture thumbnail directing to wrong picture

Greetings,

I've just noticed that one of my photos in one of my albums points to the wrong photo. The thumb looks correct but clicking it goes to a different photo. When I edit the photo, if I tap the thumb it shows the correct large pic but jump to photo is wrong. I have tried rebuilding and optimizing but that did not seem to correct the problem.

Any suggestions of how to diagnose are very welcome.

Thanks!

Piwigo version: 2.7.4
PHP version: 5.5.9
MySQL version: 5.5.44
Piwigo URL: http://photos.triantos.com

Offline

 

#2 2015-07-26 17:51:16

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Picture thumbnail directing to wrong picture

neek wrote:

one of my photos in one of my albums

yeah ? which one ?

Offline

 

#3 2015-07-26 18:34:37

neek
Member
2015-06-14
15

Re: Picture thumbnail directing to wrong picture

http://photos.triantos.com/index/category/school2014. The last pic (girl in pink dress)

Offline

 

#4 2015-07-26 18:39:11

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Picture thumbnail directing to wrong picture

you setted picture_url_style to 'file' and you have at least two photos with the same name
thus Piwigo can't know which one to use (and it uses the first in database)

set this setting to 'id-file'

it's what the comment says by the way https://github.com/Piwigo/Piwigo/blob/c … #L574-L579

Offline

 

#5 2015-07-26 18:57:35

neek
Member
2015-06-14
15

Re: Picture thumbnail directing to wrong picture

Thanks a lot, that did it! I'm still unsure why it can't be resolved. I would think the combination of album and image name should disambiguate but I get that since images can live in multiple albums, there can be these problems of ambiguity.

Again I appreciate your help.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact