I would like to incorporate a Flash/XML gallery into MODx.
The locations of each image to be used in the gallery are stored in an XML file.
I would like the website owner to be able to add/change images in the gallery through the manager, so I need MODx to be able to modify the XML file. Can anyone point me to some docs that can explain, or help my out in any way?
Also, is there a way to let the website owner create more image insert/upload fields in the manager when they are editing the document? All I can do atm is create a finite amount of image insert/upload fields, which is no good if I don’t want to limit the amount of images the website owner can upload to the gallery.
Any help much appreciated.
Alex.
To get MODx to output and be the source of xml for the flash gallery.
Set the document’s Content Type: text/xml and rename the alias to "output.xml" if you have furls enabled specifying the extension will override the default .html
You can use Ditto to create the xml. This a work around to do what you want but it might be too cumbersome for you or the client. It works for me. I create a container document and under it I create one document for each image in the gallery. That way you can have a title,description,url,etc. for each item.
Depending on the size of your galleries it might get out of hand.
DropboxUploader -- Upload files to a Dropbox account.
DIG -- Dynamic Image Generator
gus -- Google URL Shortener
makeQR -- Uses google chart api to make QR codes.
MODxTweeter -- Update your twitter status on publish.
Thanks, that sounds like a good way of doing it, I’ll give it a go.
I’m using AutoGallery for that. It can generate list of files from a directory where you store them. You can add descriptions too. Check it out.