template using server side scripting. You will usually need to replace the
following 4 variables:
- URL (see above: 2. Creating image specific URLs)
- Width
- Height
- Background Color
HTML Template
<HTML>
<BODY>
...
<?php
include("fetch_fpx_image.php");
$fsi_url =
"fsi/fsi.swf?FPXSrc=image.fpx&FPXTilesx=4&FPXTilesY=3";
$width = 320;
$height = 300;
$bgcolor = "#FFFFFF";
$template="
<Object
classid=\"clsid:D27CDB6E-
AE6D-
11cf-
96B8-
444553540000\"
codebase=\
"http://download.macromedia.com/pub/shockwave/cabs/flash/s
wflash.cab#version=6,0,65,0\"
width=\"$width\" height=\"$height\">
<PARAM name=\"movie\" VALUE=\"$fsi_url\" />
<PARAM name=\"bgcolor\" VALUE=\"$bgcolor\" />
<PARAM name=\"menu\" VALUE=\"false\" />
<PARAM name=\"allowscriptaccess\"
value=\"always\" />
<PARAM name=\"allowfullscreen\" value=\"true\" />
<PARAM name=\"quality\" value=\"high\" />
<EMBED TYPE=\"application/x-shockwave-flash\"
PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download
/index.cgi?P1_
Prod_
Version=ShockwaveFlash\"
SRC=\"$fsi_
url\"
WIDTH=\"$width\" HEIGHT=\"$height\"
BGCOLOR=\"$bgcolor\"
MENU=\"false\"
ALLOWSCRIPTACCESS="always" ALLOWFULLSCREEN="true"
QUALITY="high"></EMBED>
</Object>";
8 FSI Viewer
NeptuneLabs - FSI Viewer
240