forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ba2 on July 05, 2006, 10:26:56 pm

Title: help for videos
Post by: ba2 on July 05, 2006, 10:26:56 pm
Hello
on an old version of Coppermine when I had some videos it display an image to show it's a video !
now on the last version I dont have a icon/image for them, just a link :(
like this one :
http://www.sbwu.net/photos/thumbnails.php?album=8&page=10
can you help me?
thanks!
Title: Re: help for videos
Post by: tibu on July 06, 2006, 06:43:15 am
The first thing that I can think of is to check your images folder. Under the directory that coppermine is installed there should be a folder called "Images", is the file called "thumb_avi.jpg" there?
Title: Re: help for videos
Post by: ba2 on July 06, 2006, 10:26:14 am
yep
Title: Re: help for videos
Post by: Joachim Müller on July 06, 2006, 10:31:28 am
http://www.sbwu.net/photos/images/thumb_avi.jpg ...
Title: Re: help for videos
Post by: ba2 on July 06, 2006, 11:09:31 am
why it display nothing?
Title: Re: help for videos
Post by: Sami on July 06, 2006, 11:25:46 am
src property of your <img> tag is empty!
if you look at the include/function.inc.php will see the $pic_url is responsible for that url
$pic_url will get its value from get_pic_url function (its also in function.inc.php line ~1894)
I'm working on that to figur out what happen....
Title: Re: help for videos
Post by: Joachim Müller on July 06, 2006, 11:27:07 am
Did you apply any mods?
Title: Re: help for videos
Post by: ba2 on July 06, 2006, 11:43:21 am
nope
Title: Re: help for videos
Post by: Sami on July 06, 2006, 11:59:38 am
just for sure can you just copy function.inc.php to your include folder again (may be it's cruppted)
use a real ftp client like "ipswitch ws_ftppro" or "smartftp"
Title: Re: help for videos
Post by: ba2 on July 06, 2006, 12:03:12 pm
nope not working  ???
Title: Re: help for videos
Post by: Sami on July 06, 2006, 12:13:24 pm
check galleryicon on  xxx_pictures table  for avi files and tell us what are the values
update forget that
Title: Re: help for videos
Post by: Sami on July 06, 2006, 12:19:06 pm
forget all of them   ::)
I should check this first
did you change "The prefix for thumbnails " value under config=>Files and thumbnails advanced settings
i think you did it's mini_
i'm I true? then go to your {gallery root}/images folder and rename all thumb_xxx.jpg to mini_xxx.jpg
Title: Re: help for videos
Post by: ba2 on July 06, 2006, 12:30:19 pm
yay!!! it's working !! thx a lot!!!
Title: Re: help for videos
Post by: Sami on July 06, 2006, 12:39:57 pm
I think this should be report as a bug
here is desc.
by changing "The prefix for thumbnails" , get_pic_url function will look for newprefix_avi.jpg or other type of cpg default media thumbnails

sorry
this works fine for me
- may be you have permission issue on "images" folder
- may be you change "thumb_pfx" under config table manualy
- may be on upgrade proccess you delete your old image folder and copy new image folder instead of overwite it
Title: Re: help for videos
Post by: BuLLy__BoY on July 06, 2006, 03:53:49 pm
Is coppermine gallery support videos *.3gp format?
Title: Re: help for videos
Post by: Sami on July 06, 2006, 03:56:20 pm
if you are looking for 3gp thumbnail "No" cpg has not 3gp thumbnail
Title: Re: help for videos
Post by: Joachim Müller on July 07, 2006, 12:21:55 am
There is a "one issue per thread" policy that you agreed to respect when signing up. The initial question has been solved, your question is not related at all, so I'm marking this thread accordingly and locking it. Start a new thread (after having searched (http://forum.coppermine-gallery.net/index.php?action=search2;search=3gp%20video)) for your new question, and don't try to hijack threads in the future! >:(