XML File For Album

t2india

Joined: 2009-12-19
Posts: 1
Posted: Sat, 2009-12-19 16:37

Can I create XML with Image Path for my Album programmatically by quering from database.

<galleries>
<gallery>
<image>http://files.prakriti.in/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=17&g2_serialNumber=1</image>
<caption>House Boat</caption>
</gallery>
<gallery>
<image>http://files.prakriti.in/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=22&g2_serialNumber=1</image>
<caption>Mahjong Houseboat</caption>
</gallery>
</galleries>

Best Regards
Sudipta Banerjee
http://www.t2india.com/

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2009-12-19 17:40
 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2009-12-19 19:24

Or the simpleviewersource module does exactly what you're looking for.
http://codex.gallery2.org/Gallery2:Modules:simpleviewersource