3D ImageFlow Gallery Support Product Page
This topic was archived
Diffrent dynamic galleries
Asked 11 Jul 2008 11:04:25
1
has this question
11 Jul 2008 11:04:25 Denis Hoffmann posted:
Hi there,is it possible to create a dynamic gallery with diffrent IDs? I know how to create a normal dynamic gallery. But i need it a little more flexible. The XML file is always the same. but the MySQL source should be changed.
Like a normal link: www.mhqonline.de/galerie.php?id=1
Hiw do i let the XML file know that i want to have the pictures from the ID=1 or ID=9
Cheers
Denis
www.musicheadquarter.de
Replies
Replied 15 Jul 2008 13:00:07
15 Jul 2008 13:00:07 Miroslav Zografski replied:
Hi Denis,
I can figure out so far one solution - to load diferent xml file for every ID, but it will require you to change generally your Database. It can be achieved if you create needed xmls manualy and have them dynamicaly loaded like this:
<pre id=code><font face=courier size=2 id=code>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="700" height="450" id="ImageFlowGallery1" title=<?php echo '"'.$row_imagesRS['galtitle'].'"'; ?>>
<param name="movie" value="imageflowgallery/3DFlowGallery.swf" />
<param name="bgcolor" value="#333333" />
<param name="FlashVars" value=<?php echo '"'.$row_dynamicgalRS['xmlfile'].'"'; ?>/>
<param name="quality" value="best" />
<embed src="imageflowgallery/3DFlowGallery.swf" width="700" height="450" quality="best" name="ImageFlowGallery1" pluginspage="www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#333333" flashvars="xmlFile=imageflowgallery/<?php echo $row_dynamicgalRS['xmlfile']; ?>" title=<?php echo '"'.$row_imagesRS['galtitle'].'"'; ?>></embed>
</object>
</font id=code></pre id=code>
there are also included dynamic title. Sure you have to create a recordset in order to have the service for that stuff. I haven't tested thata solution, but in theory it soubd good.
Regards,
M.Zografski
-----------------------------------
DMXZone.com Support Team
-----------------------------------
I can figure out so far one solution - to load diferent xml file for every ID, but it will require you to change generally your Database. It can be achieved if you create needed xmls manualy and have them dynamicaly loaded like this:
<pre id=code><font face=courier size=2 id=code>
<object classid="clsid
<param name="movie" value="imageflowgallery/3DFlowGallery.swf" />
<param name="bgcolor" value="#333333" />
<param name="FlashVars" value=<?php echo '"'.$row_dynamicgalRS['xmlfile'].'"'; ?>/>
<param name="quality" value="best" />
<embed src="imageflowgallery/3DFlowGallery.swf" width="700" height="450" quality="best" name="ImageFlowGallery1" pluginspage="www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#333333" flashvars="xmlFile=imageflowgallery/<?php echo $row_dynamicgalRS['xmlfile']; ?>" title=<?php echo '"'.$row_imagesRS['galtitle'].'"'; ?>></embed>
</object>
</font id=code></pre id=code>
there are also included dynamic title. Sure you have to create a recordset in order to have the service for that stuff. I haven't tested thata solution, but in theory it soubd good.
Regards,
M.Zografski
-----------------------------------
DMXZone.com Support Team
-----------------------------------

