SWF gallery

Phoca Gallery - image gallery extension
ahoy
Phoca Member
Phoca Member
Posts: 17
Joined: 01 Dec 2008, 09:30
Location: Israel
Contact:

SWF gallery

Post by ahoy »

Hi,

A real great component - Does it support creating a SWF gallery in any way (i.e. Plugin or embeded code)?
Ahoy IT
-----------
Web Hosting | Articles | Film History
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: SWF gallery

Post by caro84g »

Hi,

what is a SWF Gallery?

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
ahoy
Phoca Member
Phoca Member
Posts: 17
Joined: 01 Dec 2008, 09:30
Location: Israel
Contact:

Re: SWF gallery

Post by ahoy »

Hi,

I refer to a FLASH items galery which files are either SWF or FLV.
Ahoy IT
-----------
Web Hosting | Articles | Film History
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SWF gallery

Post by Jan »

Hi, Phoca Gallery supports youtube or a similar system to display flash (not flash directly)

Jan
If you find Phoca extensions useful, please support the project
ahoy
Phoca Member
Phoca Member
Posts: 17
Joined: 01 Dec 2008, 09:30
Location: Israel
Contact:

Re: SWF gallery

Post by ahoy »

I need to post localy on server - Is there a solution?
Ahoy IT
-----------
Web Hosting | Articles | Film History
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SWF gallery

Post 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:
If you find Phoca extensions useful, please support the project
ahoy
Phoca Member
Phoca Member
Posts: 17
Joined: 01 Dec 2008, 09:30
Location: Israel
Contact:

Re: SWF gallery

Post by ahoy »

Hmmm ...

As the UTube code is an Object and so is the FLASH one ... just need to allow upload of SWF files.
Ahoy IT
-----------
Web Hosting | Articles | Film History
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SWF gallery

Post by Jan »

uploading swf files should not be a problem: media manager, ftp, ...

Jan
If you find Phoca extensions useful, please support the project
ahoy
Phoca Member
Phoca Member
Posts: 17
Joined: 01 Dec 2008, 09:30
Location: Israel
Contact:

Re: SWF gallery

Post 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?
Ahoy IT
-----------
Web Hosting | Articles | Film History
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SWF gallery

Post 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
If you find Phoca extensions useful, please support the project
Post Reply