I mean I have setup in teh section editor that each post there is a new gallery.
In that section editor I have the following
Album Name
Album Description
Image <- Upload
I want it so each post is an Album and Image adds that album.
For example I have my images xml file setup like:
<?php header('Content-type: application/xml; charset=utf-8'); ?><?xml version="1.0" encoding="UTF-8"?>
<?php
require_once "/cmsAdmin/lib/viewer_functions.php";
list($galleryRecords, $galleryMetaData) = getRecords(array(
'tableName' => 'gallery',
));
?>
<gallery>
<?php foreach ($galleryRecords as $record): ?><album id="<?php echo $record['num'] ?>" title="<?php echo $record['gallery_name'] ?>" lgPath="gallery/lg/" tnPath="gallery/tn/" description="<?php echo $record['description_of_gallery'] ?>">
<?php foreach ($record['image'] as $upload): ?>
<img src="<?php echo $upload['urlPath'] ?>" />
<?php endforeach ?>
</album>
<?php endforeach ?>
The embedded flash like this:
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="525" height="382">
<param name="movie" value="gallery.swf">
<param name="FlashVars" value="xmlfile=/images.xml" />
<param name="quality" value="High">
<embed src="gallery.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="525" height="382" quality="High"></object>
Please help. I have attached the images.xml