|
|
|
No video thumbnails
|
|
Date: 2006/11/12 20:07
|
By: holsum
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 10 |   | |
|
I am running a video site that uses zoom and I have to mannually add in my thumbnails. So the zoom tab isn't displayng the thumnbs becuase it is looking for a thumb of the same file type. (i.e.- surf01.flv) The actaul Thumb is surf01.jpg.
I am sure if I knew beter php I could add in a simple code change to the plug-in that would remove the .flv/ .mov/ .wmv and replace it with .jpg.
Any help?
Thanks, -holsum
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:No video thumbnails
|
|
Date: 2006/11/16 15:16
|
By: zonekris
|
Status: User
|
|
|
Karma: -2  
|
|
Fresh Joomlapolitan  | Posts: 9 |   | |
|
No thumbnail when i upload movie (mpeg...)in Plugin ! In component CB2 : Its OK
I have a red cross, and if i tried a right clic http://www.xxx.com/images/zoom/GAHSCF/thumbs/xxx.mpeg)
Any solution for a unique picture for movie ?
Thanks
I have same problem!!!!
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:No video thumbnails
|
|
Date: 2007/01/09 23:33
|
By: mejim707
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
This is what I did...
I replaced line 92 $thumbphoto = $photo->imgfilename;
With
$text = $photo->imgfilename; $find = array('mpg' , 'mpeg', 'avi', 'flv', 'mov', 'wmv'); $replace = 'jpg'; $thumbphoto = str_replace($find, $replace, $text);
Badabing!
I just need to figure how to link to the image/video not the gallery... Any help would be great!
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:No video thumbnails
|
|
Date: 2007/01/10 00:06
|
By: mejim707
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
Final, Found a helpful link but the code was a bit messed up. I fixed it and here it is!!!
1.in the following file : ../components/com_profiler/plugin/user/plug_cbzoomtab/zoom.php
replace nearly line 108 )
$return.= "<a href="".sefRelToAbs("index.php?option=com_zoom".$itemurl."&catid=".$photo->catid)."">"
With This...
$return.= "<a href="".sefRelToAbs("index.php?option=com_zoom".$itemurl."&page=mmx_cb&catid=".$photo->catid)."&key={$photo->imgid}&mmxPicID={$photo->imgid}">"
Then in File : ../components/com_zoom/zoom.php
right after nearly line 101: switch($page)
add these lines : //majidmx (majidfn@yahoo.com) => added these lines so we can view the images directly from cb , by clicking on their thumbnail in zoom tab in CB //All rights reserverd to MajiD Fatemian (majidfn@yahoo.com) case 'mmx_cb': $mmxPicID=mosGetParam($_REQUEST,'mmxPicID',NULL); $mmxPicCatID=mosGetParam($_REQUEST,'catid'); for($i=0;$i<count($zoom->_gallery->_images);$i++){ $zoom->_gallery->_images[$i]->getInfo(); if($zoom->_gallery->_images[$i]->_id==$mmxPicID){ mosRedirect("?option=com_zoom&page=view&catid={$mmxPicCatID}&key={$i}"); } } break; //end of majidmx(majidfn@yahoo.com)
This was a very helpful post from mister majidmx
VAVAVOOM!!! You now can see video thumbs and click them to be directed to the file itself!
|
|
The administrator has disabled public write access. |
|
|