coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Howza on October 19, 2005, 02:54:01 PM

Title: Video thumbnails - lack of.
Post by: Howza on October 19, 2005, 02:54:01 PM
Hi there, I'm using coppermine v133.
My problem is, after following the instructions for adding thumbnails to videos, (creating a picture of size 100x100 pixels, naming it thumb_vid.jpg same as the video, and placing it in the same ftp folder as the videos) when I batch add my videos the thumbnails come up fine, but once they are inside the gallery the thumbnails are just a tiny dot, 1 pixel, i.e. 0x0 or something. Am I right in thinking it is something to do with some file named getimagesize. If you can guess I'm a beginner. The error i get is:

Warning: getimagesize(albums/FTP%20uploads/thumb_So%20Surrey%20-%20How%20many%20emo_s.jpg): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\MyMistake\mymistake\howza.n\SoSurreyCrew\gallery\include\functions.inc.php on line 1065

Here is my debug info if this would help>

USER:
------------------
Array
(
    [ID] => 2e6576d5f7d31ba87c47f51fc48cac93
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Video thumbnails - lack of.
Post by: kegobeer on October 19, 2005, 04:50:10 PM
Don't put spaces in your filenames or directory names.  Fix that and see if anything improves.
Title: Re: Video thumbnails - lack of.
Post by: Howza on October 19, 2005, 05:10:05 PM
Already tried this mate.
An example file name for my videos is:

sosurreyashisgoodie.wmv

and the thumb for it

thumb_sosurreyashisgoodie.jpg
Title: Re: Video thumbnails - lack of.
Post by: Howza on October 19, 2005, 05:35:17 PM
 "my bad"

cheers mate.

a note to any 'newbies' reading this post looking for answers as to why their thumbnails do not work with their videos.

1) make sure the thumbnail matches the video i.e. - 123.wmv 's thumbnail should be thumb_123.jpg
2) make sure there are no spaces just to be sure
3) make sure there are no spaces in the parent folder's title i.e. the folder in which you upload your videos.
4) make sure the thumbnails are in the same folder as the videos.