Can 3D Flow 3D Photo Wall work with dynamic images from a recordset
Question:
Can 3D Flow 3D Photo Wall work with dynamic images from a recordset?
Answer:
Currently the interface of the extension does not allow to select Database as a source of image information.
However, 3D Flow 3D Photo Wall reads the data published in Dreameweaver, the most important settings and the images that are to be used are published in the XML file.
<param name="“FlashVars”" value="“xmlFile=yoursite_root/imageflow3D" Photo Wall/3DFlow3D Photo Wall1.xml” />
to
<param name="“FlashVars”" value="“xmlFile="yoursite_root/imageflow3D Photo Wall/3DFlow3D Photo Wall1.php” />
and the following attribute from:
flashvars=“xmlFile=yoursite_root/imageflow3D Photo Wall/3DFlow3D Photo Wall1.xml”
to
flashvars=“xmlFile=yoursite_root/imageflow3D Photo Wall/3DFlow3D Photo Wall1.php”
<img url="“MyDummyPicture”" target="“_blank”" alt="““" /><br />
Change MyDummyPicture with the following code:
<?php echo $row_rsImages[‘image’]; //image is a column in my database for the image path ?>
So now you will want to display all images from your database. In order to do that you will need to use repeat region for your image, i.e.:
<?php do { ?>
<img url=“<?php echo $row_rsImages[‘image’];?>“ target="“_blank”" alt="““" /><![CDATA[]]></image>
<?php } while ($row_rsImages = mysql_fetch_assoc($rsImages)); ?>
NOTE: I am using database with 2 columns - “ID” for the key and “image” for the image path.
For more info you can check the movie on the official page of the extension here
DISCLAIMER:
This is extra complimentary content which purpose is to show additional usage that is not part of the product, i.e. it suggests tips for extending the functionality of the product by the users themselves. It is provided “as is”, without warranty of any kind, express or implied , including but not limited to the warranties of merchantability, fitness for a particular purpose and nonfringement of third party rights.
DMXzone does not take responsibility to support the suggested content to be fully compatible and working as intended and does not provide support for extended functionality which is not included in the current release of the extension. It is highly recommended that only more advanced developers use it.
Comments
Be the first to write a comment
You must me logged in to write a comment.