Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Fix for custom thumbs capitalization issue  (Read 2775 times)

0 Members and 1 Guest are viewing this topic.

thejake420

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 79
  • Jakes Jokes - the largest joke site on the web
    • Jakes Jokes
Fix for custom thumbs capitalization issue
« on: March 26, 2006, 11:39:56 pm »

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
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 19 queries.