oxyde
04-11-2007, 09:07 AM
Hi everyone,
I'm using a flash xml gallery with an xml to parse the images.
my xml is very simple:
<?xml version="1.0" encoding="UTF-8"?>
<menu>
<gallery name="kimono">
<image source="pics/K_prev001.jpg" thumb="pics/K_th001.jpg" title="kimono01" bonus="test1"/>
<image source="pics/K_prev002.jpg" thumb="pics/K_th002.jpg" title="kimono02" bonus="test2"/>
<image source="pics/K_prev003.jpg" thumb="pics/K_th003.jpg" title="kimono01" bonus="test3"/>
<image source="pics/K_prev004.jpg" thumb="pics/K_th004.jpg" title="kimono04" bonus="test4"/>
</gallery>
<gallery name="qipao">
<image source="pics/Q_prev001.jpg" thumb="pics/Q_th001.jpg" title="qipao01" bonus="bob1"/>
<image source="pics/Q_prev002.jpg" thumb="pics/Q_th002.jpg" title="qipao02" bonus="bob2"/>
<image source="pics/Q_prev003.jpg" thumb="pics/Q_th003.jpg" title="qipao03" bonus="bob3"/>
</gallery>
</menu>
how can i create a admin interface so the user will just have to upload his file and write a description text in a field and it will update the xml.
I'm not sure how to proceed but I guess it will be something like:
html/php ----> (uploaded image, text ) MySQL ,
MySQL data ------> collected by php
php ------> update xml.
I can't seems to find a tutorial to just implement images and description text for a flash/xml gallery.
I can't do php or MySQL but If I have a tutorial will be great so I could do this.
thanks for the help.
cheers.
I'm using a flash xml gallery with an xml to parse the images.
my xml is very simple:
<?xml version="1.0" encoding="UTF-8"?>
<menu>
<gallery name="kimono">
<image source="pics/K_prev001.jpg" thumb="pics/K_th001.jpg" title="kimono01" bonus="test1"/>
<image source="pics/K_prev002.jpg" thumb="pics/K_th002.jpg" title="kimono02" bonus="test2"/>
<image source="pics/K_prev003.jpg" thumb="pics/K_th003.jpg" title="kimono01" bonus="test3"/>
<image source="pics/K_prev004.jpg" thumb="pics/K_th004.jpg" title="kimono04" bonus="test4"/>
</gallery>
<gallery name="qipao">
<image source="pics/Q_prev001.jpg" thumb="pics/Q_th001.jpg" title="qipao01" bonus="bob1"/>
<image source="pics/Q_prev002.jpg" thumb="pics/Q_th002.jpg" title="qipao02" bonus="bob2"/>
<image source="pics/Q_prev003.jpg" thumb="pics/Q_th003.jpg" title="qipao03" bonus="bob3"/>
</gallery>
</menu>
how can i create a admin interface so the user will just have to upload his file and write a description text in a field and it will update the xml.
I'm not sure how to proceed but I guess it will be something like:
html/php ----> (uploaded image, text ) MySQL ,
MySQL data ------> collected by php
php ------> update xml.
I can't seems to find a tutorial to just implement images and description text for a flash/xml gallery.
I can't do php or MySQL but If I have a tutorial will be great so I could do this.
thanks for the help.
cheers.