lardman |
10-24-2011 03:49 PM |
I've got to agree that the lack of usable thumbnails makes using the site rather difficult.
Apparently different authors have their images placed in subdirectories of http://www.joedios.com/dioramas/files/ with their userid number split into single digits and each digit creating a new directory (presumably this is done to ensure that there are never too many subdirectories as this makes traversing the tree time-consuming iirc)
E.g. Falcon C (sorry for picking on you!) is user number 3791, so if he were to upload a file called zartan.jpg (which he did), it would appear here:
http://www.joedios.com/dioramas/fil.../9/1/zartan.jpg
Now the curious thing is that if you look back at the older photos, the thumbnail for this file should, afaict, be called http://www.joedios.com/dioramas/fil...artan_thumb.jpg, while what we currently see is this: http://www.joedios.com/dioramas/fil.../9/1/_thumb.jpg
Now presumably that _thumb.jpg file will change with each uploaded photo (so the thumbnail should really always be of the last upload, not sure if that is true) and it appears that the problem is caused by the script/program that generates the thumbnails from the full-size images not naming the thumbnails correctly.
So enough of the analysis, how do we fix this? Who has the authority to alter the website scripts?
I'm not sure how the thumbnail pages are generated, but I imagine there is a record of each file uploaded which is used to determine which thumbnail should be shown, perhaps it falls back to showing _thumb.jpg if it can't find the correctly named thumbnail, or perhaps the (incorrect) thumbnail name is written to the DB when the record is created. In either case it should be reasonably simple to parse the database looking for thumbnails named _thumb.jpg, re-generate the thumbanail with the correct name and update the DB. He says... ;)
|