Hi, I'm trying to make a mod for adding flv's with thumbnails, but can't find the code where the thumbnails are looked for.
For example, when I add an .flv at the moment it uses the generic video thumbnail, where is the code that handles this so I can change it to look for thumbnails in the same way as images?
Thanks.
It already does look for thumbnails. Please read the section about custom thumbs in the docs.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cust_thmb
Thanks!
I realise my mistake now.
Is there any way to prevent it from converting .'s to _'s?
For example I want to be able to add the file:
video.asf.flv
with the thumb
thumb_video.asf.jpg
but coppermine looks for
thumb_video_asf.jpg
Allowing more than one dot in filenames can cause security issues on poorly set up webservers, that's why they get converted. Don't use such filenames (video.asf.flv) in the first place.