Some large thumbnails missing after upgrade...? Some large thumbnails missing after upgrade...?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Some large thumbnails missing after upgrade...?

Started by taiofmine, May 22, 2010, 01:44:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

taiofmine

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
^For example. Silver garbage can instead of photo thumbnail.

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?

onthepike

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).

taiofmine

I'm sorry. :X I totally forgot that it was members only.

Log in with this:

User: testaccount
Pass: test

taiofmine

Oops! Sorry about that. I've made the gallery public. :)

Joachim Müller


  • Using special chars, upper-case and spaces in a file name is not a bright idea for files uploaded to a webserver. Naming a file [ANTM]_Amanda05_(Matthew_Jordan_Smith).jpg is not an option
  • Your issues might be related to you changing settings in your config without rebuilding the corresponding files (thumbs and intermediates). Please attach a screenshot that shows your config screen's file settings exapanded and report if this has been the case, i.e. if you have experimented with the settings there
  • The most serious issue I can see is that you have uploaded most (19,735 of 26,788 files) of your images using http uploads with one single admin user account, which leads to one folder on file system level being populated with 56,411 files (I was able to figure this out since you as well foolishly haven't disabled browsing of folders that don't contain an index file - try for yourself: http://www.all-antm.net/albums/userpics/10001/). You should have used ftp-uploads plus batch-add and a folder structure that correlates  to your category/album structure

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:

  • Determine the category / album structure for each file
  • Create a folder structure that matches your file's category/album structure (using web-safe names)
  • Move the file (with a mechanism that makes sure the file doesn't get lost if the script acts up)
  • Rename the file using a web-safe renaming scheme
  • Write the changes back to the database
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.

Αndré

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.