forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: MothBox on March 21, 2005, 05:28:36 pm

Title: Video Preview?
Post by: MothBox on March 21, 2005, 05:28:36 pm
Is there anyway to get a still pic as the preview for a video file rather than the icon?  Like how windows has thumbnail view.
Title: Re: Video Preview?
Post by: kegobeer on March 21, 2005, 07:56:58 pm
Coppermine doesn't support creating thumbnails from video.  You have to create one yourself, then upload it via ftp to the directory the video is in.  If you video is named home.mpg, you name the picture thumb_home.jpg.  Read the documentation for further instructions on custom thumbnails.
Title: Re: Video Preview?
Post by: MothBox on March 23, 2005, 03:55:37 pm
It worked for some of the video's, but the one's with space's in the filenames, I get this error:

Quote
Warning: getimagesize(albums/userpics/10001/thumb_My%20My%20MyShrink001.jpg): failed to open stream: No such file or directory in /home/pigeon/public_html/copper/include/functions.inc.php on line 1065

Any ideas?
Title: Re: Video Preview?
Post by: Nibbler on March 23, 2005, 04:13:29 pm
Give the thumbnail the filename in the error message.
Title: Re: Video Preview?
Post by: MothBox on March 24, 2005, 02:20:09 am
That didn't work.  Just dosen't do anything.
Title: Re: Video Preview?
Post by: MothBox on March 24, 2005, 06:28:08 pm
Anyone?
Title: Re: Video Preview?
Post by: kegobeer on March 24, 2005, 07:42:09 pm
Rename your file and remove the spaces, do the same with your custom thumbnail, and edit the filename in your cpg132_pictures table.