(http://www.brownfloyd.com/files/cust_thmb.gif)
Order of thumbnails:Thumbnails are selected by level (user-defined, theme-defined, global) then by type (file-specific, extension-specific, media-specific) in order. User-defined thumbnails are stored in the folder where the file is located. Theme-defined thumbnails are stored in the themes 'images' folder. Global thumbnails are stored within the 'images' folder of the Coppermine root.
Thumbnails can be either a 'gif', 'png', or 'jpg'. Types of thumbnails:File-specific thumbnails must have the same base name as the file. Using the example in the screenshot, its thumbnails could be 'thumb_
thailand_waterfall.gif', 'thumb_
thailand_waterfall.png', or 'thumb_
thailand_waterfall.jpg', chosen in that order.
Extension-specific thumbnails are named after the extension of the file. (Examples: 'thumb_
wmv.jpg', 'thumb_
wav.jpg'.)
The base name for media-specific thumbnails are 'thumb_movie', 'thumb_document', and 'thumb_audio'. Images use file-specific thumbnails by default.
Uploading:There are 2 ways to upload custom thumbnails:
1. Have an image already uploaded then upload a video via the upload page. (or vice versa) The video will share the thumbnail of the image.
(http://www.brownfloyd.com/files/cust_thmb_3.gif)
2. FTP upload both the video and (thumbnail or image) then batch-add. If you FTP upload the thumbnail, the thumbnail will be shown instead of the default Coppermine thumbnail on the batch-add page. If you upload an image it will look like the screenshot. However, when the two files are added, the thumbnail of the image will be used by the video.
(http://www.brownfloyd.com/files/cust_thmb_final.gif)
Final result.
Note: If methods 1 is used and the image is deleted, the thumbnail will be deleted also, and the default Coppermine thumbnails will be used. If a previous video has be uploaded via FTP, the thumbnail must be uploaded via FTP to the same folder.
Video uploads are available for cpg1.3.0 (or better) as part of the distribution and for cpg1.2.1 as separate modification. Custom thumbnails aren't supported in versions prior to 1.3.0.
Using these instructions, a custom thumbnail can be applied to any file, not just videos.FAQS:I have a video named 'movie.wmv', when I upload a thumbnail for it 'thumb_movie.jpg' it replaces multiple videos!!!!
:\'(
Duhh. 'thumb_movie.jpg' is a media-specific thumbnail. Rename the video and the thumbnail to something other than just 'movie'.I can't find my user's folder!
From within Coppermine, browse to the user's album. Look in the url of your browser and you should see the folder's name. (See screenshot for an example.)
(http://www.brownfloyd.com/files/user_folder_link.gif)
Your users can upload their own thumbnails by using this trick: Create an album. Change the permissions on it so no one can view it except him. Then upload the fullsize images of the thumbnails to this folder. Files outside this album will be able to use the thumbnails of these images. (See above for naming.)How do I stop my users from creating their own custom thumbnails?
Right now, you can't.