Advanced search  


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

Pages: [1]   Go Down

Author Topic: thumnails for videos with upper case extensions  (Read 3415 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 4
thumnails for videos with upper case extensions
« on: January 10, 2006, 04:58:44 pm »

I believe there is a (minor) bug in the script which searches for matching thumbnails for video files .
Finding the generic thumnail works fine, but not when ive uploaded a specific thumbnail for that file.

The _filetypes table lists the possible files etc, but they are all lowercase and it appears the functions to find thumbnail dont work when extension is uppercase.

If I have 4 vidoes: film1.mpg, film2.MPG, film3.avi, film4.AVI.
They all have a matching thumbnail, thumb_filmx.png.
So the main part of the names are all lowercase, only some extensions is uppercase.

In my coppermine release (1.4.2, ill check 1.4.3 soon), only film1 and film3 dislays their thumnail.

I can run a db update to change all capital extensions to lowercase, and then rename all the files as well. but better if the function just lowercased the match when looking for specific thumbnails.....
Pages: [1]   Go Up

Page created in 0.017 seconds with 19 queries.