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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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