Bug? Same thumbnails for files with same base file name? Bug? Same thumbnails for files with same base file name?
 

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

Bug? Same thumbnails for files with same base file name?

Started by aaalexxx, September 19, 2009, 04:23:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aaalexxx

Hi there,

this might not really be a bug, but at least it's not perfect in my opinion: Today I uploaded some pictures and videos to batch insert them within coppermine. The pictures where named 001.jpg, 002.jpg, ... whereas the videos where named 001.mov, 002.mov and so on. All of them where uploaded into the same directory. After inserting them into an album I figured out that the pictures and the videos had the same thumbnails (i. e. 001.mov had the same thumbnail as 001.jpg, namely thumb_001.jpg) although they should have been different.

Then I found out that the thumbnail file is named after the original file's base name, so the thumbnail for 001.jpg and 001.mov would be thumb_001.jpg. I assume that the thumbnails for the image files where generated first and when the thumbnails for the video files where to be generated the files already existed. Although it was really easy to get around this (deleting, renaming and reuploading the video files did the job), it might be more convenient to name the thumbnail after the full original file name (i. e. thumb_001_jpg.jpg).

Thanks for your great project and keep up the good work!

Regards
Aleks