Page 1 of 1

SWF gallery

Posted: 01 Dec 2008, 09:46
by ahoy
Hi,

A real great component - Does it support creating a SWF gallery in any way (i.e. Plugin or embeded code)?

Re: SWF gallery

Posted: 01 Dec 2008, 11:50
by caro84g
Hi,

what is a SWF Gallery?

Carolien

Re: SWF gallery

Posted: 01 Dec 2008, 11:53
by ahoy
Hi,

I refer to a FLASH items galery which files are either SWF or FLV.

Re: SWF gallery

Posted: 02 Dec 2008, 16:14
by Jan
Hi, Phoca Gallery supports youtube or a similar system to display flash (not flash directly)

Jan

Re: SWF gallery

Posted: 02 Dec 2008, 18:01
by ahoy
I need to post localy on server - Is there a solution?

Re: SWF gallery

Posted: 02 Dec 2008, 18:39
by Jan
there is a solution (I don't know it, I didn't try it) but I know some users did such solution, it should work the same way as youtube code, but you will paste some flash code which will link to your server instead of e.g. to youtube site...

so you have some flash player on your server and this will be runned with the code you will paste into the "youtube" code.... :idea:

Re: SWF gallery

Posted: 02 Dec 2008, 18:51
by ahoy
Hmmm ...

As the UTube code is an Object and so is the FLASH one ... just need to allow upload of SWF files.

Re: SWF gallery

Posted: 02 Dec 2008, 20:53
by Jan
uploading swf files should not be a problem: media manager, ftp, ...

Jan

Re: SWF gallery

Posted: 17 Dec 2008, 21:38
by ahoy
Hi,

Wanted to update u that PHOCA does support FLASH (*.swf) files via the UTUBE object module ... U just need to do a bit of code clean-up before u save and there is no hassel. Here is code sample that worked for me (Note it is note the obvious flash code):

Code: Select all

<object  width="583" height="72">
<param name="src" value="images/phocagallery/hasbara/banner_728X90.swf" />
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="wmode" value="transparent" />
<embed src="images/phocagallery/hasbara/banner_728X90.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="583" height="72"></embed>
</object>
see directly at http://www.havoda.org.il/index.php?opti ... &Itemid=12

But, another thing is to get the user-interface to upload an SWF file ... I played around with "phocagallerym.php" in administrator/components/com_phocagallery/models. Issue is i can't seem to get the MIME type correct and for the PHOCA to display the file (Alltough i did get it to upload.

Any ideas?

Re: SWF gallery

Posted: 18 Dec 2008, 22:13
by Jan
hi, thank for this solution, the upload behaviour you can find here:

administrator\components\com_phocagallery\controllers\phocagalleryu.php
administrator\components\com_phocagallery\helpers\phocagalleryupload.php

but both files will be changed in the feature because of flash multiple upload