Announcement

#1 2015-10-19 22:31:04

tazattitude
Member
2015-07-13
54

[resolved] images are out of sync with the thumbnails

Hello,

Any idea why some of my full sized images are out of sync?

If you click on the main thumbnail, then it takes you to the album with thumbails. Then click on one of those and most of the time it's correct, but sometimes it is not. You can scroll through the full images to see for yourself.

Seems that if another image has the exact same name, it may bring that one up instead of the correct one.

Piwigo URL: http://www.attitudecustompainting.com/g … paint_jobs

You can click on the "1997 Mustang". After scrolling through the pics, it will change to a 65 Mustang.

I'm sure it's something I did, but what  - ? Any ideas

Thank you

Offline

 

#2 2015-10-19 22:36:31

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

Re: [resolved] images are out of sync with the thumbnails

Hi

this has been answered many times, so I will directly quote a code comment you might have already seen as you configured the URL style

// picture_url_style : one of 'id' (default), 'id-file' or 'file'. 'id-file'
// or 'file' mean that the file name (without extension will appear in the
// url). Note that one aditionnal sql query will occur if 'file' is choosen.
// Note that you might experience navigation issues if you choose 'file'
// and your file names are not unique
$conf['picture_url_style'] = 'id';

if you setted the parameter to "file" the script has no way to distinguish two pictures with the same filename, so use "id-file" instead

Offline

 

#3 2015-10-20 11:59:25

tazattitude
Member
2015-07-13
54

Re: [resolved] images are out of sync with the thumbnails

Thanks Mistic!! That was the problem. I had remembered I did have id-file at one time. I'm not for sure why I changed it.

I also did do a search first, but it was something like 'thumbnail, full size out of sync' and didn't come up with anything.

Thanks again!
Scott

Offline

 

Board footer

Powered by FluxBB

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