Photo gallery updating...any ideas?
I've got a client with a flash photo gallery, fed from xml that he wants me to build an admin tool for.
The xml file (and gallery) has multiple albums with multiple pics in each.
Here's how I originally built the tool:
Using SWF Studio and flash 9/as2
The exe opens, load the xml file and goes to a panel that lists the categories and lets them add/remove/rename categories, they hit the next button and go to a screen that lets them add/remove images, select the category the image goes into from a drop down list and put in the image name and description.
As the user load an image, I'm using imageMagik to take the high res image, re-size it proportionally and copy that into an 'images' directory, re-size it again (smaller) and copy that into a 'thumbs' directory.
Works alright, until they "accept and publish" the changes. At that point, SWF Studio creates the xml file (works fine), opens an ftp connection and uploads all the images and thumbnails to the remote site...as he adds more and more images, the upload time is taking longer and longer because it uploads all the contents of the folders...
I'd like to come up with a better way for him to "arrange" the images in the categories (I'm thinking of thumbnails in a treeview component, but that may be a bit of a nightmare), and then trying to figure out how to have the program only upload the newly updated files to the ftp site...
Any ideas?? Any other solutions?? He uses Picasa locally to edit his files, but doesn't use PWA and I'm not sure it would be any easier to figure out how to integrate that using the API...
hmmm....
TIA!