PDA

View Full Version : Viewerstyle to display Flash (swf) files ?


TomKa
22nd of November 2003 (Sat), 02:11
Pekka wrote:
Currently the viewerstyles are on three places in code:
In fetchsettings.php you set them on of off.
Rules for choosing them (and turning other off if needed) are in photo.php after 1772
In photo.php you actually include the viewerstyle in 2032 onwards.
Viewerstyles may of course use any of their own codes, but mostly I have used:

// $url = clean http address to image
// $file = filename
// $im_width = width
// $im_height = height
// $im_sizetag = width + height tag in html

Flash viewestyle is something I did not finish now as it would require a simple flash movie which only would display one image, and actionscript for giving it url and other parameters.



Hello Pekka,

I'd like to set up the viewerstyle to display flash files like panoramas (example: www.panoviews.com/files/flashpano.html) and other swf files. Is it possible to include this in the VIEWER TYPE RULES in photo.php ?

Also an option for displaying Quicktime files would be great. Perhaps it's possible to include a kind of dummy file and call if somebody want's to invoke other viewers (like Zoomify from zoomify.com).

Thomas