Fix for custom thumbs capitalization issue Fix for custom thumbs capitalization issue
 

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

Fix for custom thumbs capitalization issue

Started by thejake420, March 26, 2006, 11:39:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thejake420

Please add a line or two of standard code to permit Coppermine to recognize custom thumbs regardless of whether the gif/jpg extension is capitalized or not,

Example:
Custom thumbs work when named thumb_filename.gif, but not when named thumb_filename.GIF. In the second case, it shows the default "zip" picture rather than the custom thumb.

In other words, capitalization of the extension makes the custom thumb unrecognizable to Coppermine 1.4.4 (and probably to other versions as well.)


Jake