Thumbnails - some not showing Thumbnails - some not showing
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Thumbnails - some not showing

Started by tarnishedangel, October 03, 2007, 03:52:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tarnishedangel

First of all thanks to the wonderful people in here, you have helped me with a few little kinks in my road to creating an amazing online gallery for my site... but now I have an odd problem, when I upload thumbs to my server (filename thumb_XXX, with XXX being the original filename the thumb represents) some of the thumbs show up and some dont... I have gone through and made sure that they are all the right file type ( that was my problem the first time) and that none of the file names are wrong... but still only some of the images are showing.  I apologize if this shouldnt be in the upload category, but I thought it might be something I did wrong while uploading...

Thanks
Nik

Nibbler


tarnishedangel

an example as in the file names??  well here is my site: http://www.tarnishedmedia.org/coppermine/thumbnails.php?album=30

that is a direct link to the page where it is most plainly obvious because all the files but one hat a thumb.  The name of that file is 220-02-Id.zip and the thumbnail is thumb_220-02-Id.jpg...

I hope that is what you were asking for, thanks

Nibbler

Please provide a test user account in order to access the gallery.

tarnishedangel

sorry about that,
I kept it simple,

UN tester
PW tester

Thanks again!!
Nik

Nibbler

You need to match the case of the original file, so rename the thumbnail from thumb_220-02-id.jpg to thumb_220-02-Id.jpg (i -> I)

tarnishedangel

Thanks Nibbler!!

you guys truly are awesome!!

nik

Joachim Müller

Thanks for returning and resolving your thread.
Just as an explanation: on Unix/Linux driven operating systems (and your webserver probably runs under some sort of Unix/Linux) capitalization does matter. On Unix/Linux (often refered to as Lunix), there can be two files within the same folder that just differ in capitalization (e.g. fooBar.jpg and foobar.jpg), whereas in Windows this is impossible. Subsequently, capitalization matters for files on your webserver, as there could potentially be two files on your webserver within the same folder (220-02-id.jpg and 220-02-Id.jpg) with two different thumbnail files (thumb_220-02-id.jpg and thumb_220-02-Id.jpg). As this is technically and logically possible, Coppermine is strict on the usage of capitalization. To keep out of harms way, we recommend to use all-lower-case filenames under all circumstances.