forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: taiofmine on May 22, 2010, 01:44:58 am

Title: Some large thumbnails missing after upgrade...?
Post by: taiofmine on May 22, 2010, 01:44:58 am
This isn't happening with every photo in my gallery... just some of them, which is rather weird. The small thumbnail preview shows up when you select the album, but the larger thumbnail is showing up as a silver garbage can.

http://www.all-antm.net/displayimage.php?album=261&pid=6846#top_display_media (http://www.all-antm.net/displayimage.php?album=261&pid=6846#top_display_media)
^For example. Silver garbage can instead of photo thumbnail.

http://www.all-antm.net/thumbnails.php?album=261 (http://www.all-antm.net/thumbnails.php?album=261)
^But the small thumbnail shows up in that view.

And if you click it, you'll still get the enlarged version.

Also... those links are safe for work... but if you go into other parts of the gallery, it may be NSFW. Just a heads up. :)

Halp?
Title: Re: Some large thumbnails missing after upgrade...?
Post by: onthepike on May 22, 2010, 02:55:08 am
It appears (on my end, anyway) you're forcing visitors and guests to register an account and login to access your gallery. Personally, I'd rather not have to create an account to test your CPG. If you absolutely must force registration, common sense dictates you establish a test account for us here and post that information along with your issue(s).
Title: Re: Some large thumbnails missing after upgrade...?
Post by: taiofmine on May 22, 2010, 03:30:23 am
I'm sorry. :X I totally forgot that it was members only.

Log in with this:

User: testaccount
Pass: test
Title: Re: Some large thumbnails missing after upgrade...?
Post by: taiofmine on May 22, 2010, 03:34:29 am
Oops! Sorry about that. I've made the gallery public. :)
Title: Re: Some large thumbnails missing after upgrade...?
Post by: Joachim Müller on May 22, 2010, 09:13:36 am

If I'm correct and that is the cause for your issues, there is no easy way out though: you'd have to come up with a non-trivial script that loops though all the files in your database and does  this:Coming up with such a script is far from trivial and therefore beyond what you can expect from free support - you better hire a freelancer to accomplish that.

Joachim

P.S. Outside of the US nobody knows what ANTM means, so I suggest to explain that at least on your start page. Will definitely increase your site's popularity on search engine level.
P.P.S. In your original posting you say that "larger thumbnails" are missing. The correct Coppermine-term is "intermediate-sized image" or (for short) intermediate.
Title: Re: Some large thumbnails missing after upgrade...?
Post by: Αndré on May 22, 2010, 10:34:44 am
Example for http://www.all-antm.net/displayimage.php?pid=6846

Thumbnail file is: http://www.all-antm.net/albums/userpics/10001/thumb_%5BANTM%5D_Amanda05_%28Matthew_Jordan_Smith%29.jpg

Intermediate file is: http://www.all-antm.net/albums/userpics/10001/%5BANTM%5D_Amanda05_%28Matthew_Jordan_Smith%29.jpg

Thumbnail will be displayed, intermediate not. So I assume we handle those types differently (maybe a missing urldecode or so).

I'm not sure, but shouldn't the issue be solved if the admin runs admin tools? Afaik transliteration and special character replacement is applied at this step and all files will be renamed to have only 'friendly' characters.