forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: bart5986 on January 20, 2005, 01:12:59 pm

Title: Changing thumbnail of a flash movie?
Post by: bart5986 on January 20, 2005, 01:12:59 pm
I have a flash video but it comes up as flash as a thumbnail. Is it possible to replace the image for that file with a picture of my choice?
Title: Re: Changing thumbnail of a flash movie?
Post by: Hein Traag on January 20, 2005, 01:24:13 pm
Replace thumb_swf.jpg with a picture the same size and to your liking.
Can be found in the images folder in the root of coppermine.
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 20, 2005, 01:35:38 pm
http://coppermine.sourceforge.net/manual.php#cust_thmb
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 20, 2005, 04:42:39 pm
I don't understand how do change it.... I have the thumbnail and video already uploaded and in an album. What next?

btw I only want to change the thumbnail for that 1 video
Title: Re: Changing thumbnail of a flash movie?
Post by: Hein Traag on January 21, 2005, 11:30:13 am
For changing the thumbnail of just 1 video the info in the manuall should work.

Upload a movie and batch-add it. Then upload a thumbnail with exactly the same name and also batch-add it.

So for example. homevideo.avi is the movie file. Upload it first and batch-add it and then upload homevideo.jpg (the thumbnail) and also batch-add that one.
If the manuall is correct then the video should use the same thumbnail as the likewise named thumbnail you uploaded.
Which is method number 2 in the manuall.
Title: Re: Changing thumbnail of a flash movie?
Post by: Casper on January 21, 2005, 11:49:06 am
Not quiet, Hein, you do not batch add the thumb.  And you can ftp upload it at the same time as the flash file.
But just be sure to use the correct filename, which must be 'thumb_filename.jpg'

The thumb will then be used for the flash file, even during the batch add process.

Note, the docs are unclear on this, I will look into modifying them.
Title: Re: Changing thumbnail of a flash movie?
Post by: Hein Traag on January 21, 2005, 03:02:03 pm
Got the picture now. Seems like a good idea to look over the thumbnail section again. My english is not that good but people with even less understanding of the language are having not much fun i guess  ;D

Need help in changing that part into something a bit more understandable ?
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 22, 2005, 03:53:10 pm
I did what you said and once I had batched added them it said

Warning: getimagesize(albums/populous%20pictures/Promotional%20Art/copyrighted/thumb_popball.jpg): failed to open stream: No such file or directory in /z/www/bart5986/cgi-bin/cpg132/include/functions.inc.php on line 1065

I uploaded popball.swf and thumb_popball.jpg
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 25, 2005, 09:47:19 am
anyone?
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 25, 2005, 10:00:05 am
you mustn't use batch-add, you're just meant to ftp-upload the thumbnail file and that's it.

Joachim
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 25, 2005, 04:04:03 pm
I uploaded the file popball.swf and put it in a album, then I ftp uploaded thumb_popball.jpg and it didn't work, I also tried thumb_popball.swf.jpg and it didn't work. What am I doing wrong?
Title: Re: Changing thumbnail of a flash movie?
Post by: Casper on January 25, 2005, 07:08:37 pm
Make sure the swf file extension is not in uppercase, and also make sure you have entered the file dimensions, which can be done on upload or using edit pics.
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 26, 2005, 03:07:14 am
its in lower case and the dimensions where entered.

do I need to ftp upload the swf file?
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 26, 2005, 09:10:37 am
sure
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 26, 2005, 11:53:50 am
nope doesnt' work still..


It says Warning: getimagesize(albums/populous%20pictures/thumb_popball.jpg): failed to open stream: No such file or directory in /z/www/bart5986/cgi-bin/cpg132/include/functions.inc.php on line 1065
Title: Re: Changing thumbnail of a flash movie?
Post by: Casper on January 26, 2005, 05:42:24 pm
Ah, I see something that may be causing this, you have spaces in your folder names.

Try uploading these into a folder that does not have a space or unusual character in the folder names.
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 27, 2005, 08:40:46 am
hey, thanks it works!!!! :)

Maybe in the next version you could make this alot easier?


Thanks :)
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 27, 2005, 08:47:35 am
sure, your advice please what exactly is supposed to make it easier, preferably together with some code improvements ::)

Joachim
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 27, 2005, 02:07:01 pm
what I was thinking is in the edit file menu you can select a custom picture from there.
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 27, 2005, 07:05:11 pm
but this picture would have to reside in coppermine's database already to show up in edit files, don't you agree? I must confess that I wasn't exactly expecting an answer to my previous question, it was meant to be a bit ironical. Sure you can come up with an idea how a page should look like and how software is suppossed to work, but you can't actually code it, so it's of little use.
You have given us a hard time on the support board, imo it's time you look into the thread We need your help (http://forum.coppermine-gallery.net/index.php?topic=14227.0) and start giving something back  ;) (*hint*).

 :) Joachim
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 28, 2005, 06:34:17 am
yeah I know I've been making topics etc

I am active at too many forums already and I am trying to cut down on it not do more.


coppermine is popular how come you don't have more staff?


and why can't you make it just switch thumbnails with a newly uploaded one? You just stick an upload box in there. I don't know the structure of coppermine very well but I would expect it to be pretty easy.
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 30, 2005, 07:26:13 am
it is easy, hundreds of people have managed to accomplish it, while you appear to have issues with it. Must be our fault I guess ::).
coppermine is popular how come you don't have more staff?
This is something I was wondering about as well. Maybe we don't pay enough. ;D
There are too many takers out there, while there are not that many givers. You might start by becoming a giver as well as suggested, maybe it will help you find out why there isn't more coppermine staff...

Joachim
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 30, 2005, 07:35:41 am
I already give alot, and I find it takes up alot of my time.
Title: Re: Changing thumbnail of a flash movie?
Post by: Joachim Müller on January 30, 2005, 07:43:40 am
Yes? Where are your contributions? Haven't noticed a single one yet, they must be residing on some other webspace or parallel universe. But maybe I'm just too old to remember - just to make sure, I went through your postings to find your contributions, but there were none. Please enlighten me and post some links to them...

Joachim
Title: Re: Changing thumbnail of a flash movie?
Post by: bart5986 on January 30, 2005, 09:32:54 am
nope none here, i'm new to coppermine. I contribute alot at other places.