I have two gallery installations, and I want to copy some albums from one gallery over to the other. Are there any easy ways of doing this, and still keep the titles, captions and so forth? If I use the cart and the zip module only the images will be copied, and not the titles. Any tips? Maybe there is an easy way to do this that I have overlooked. 
Posts: 32509
No, there isn't. With add item from local server you can add a whole tree of albums/subalbums with a single click.
But it won't copy titles etc. because it only takes the filesystem album names / item names.
Posts: 16503
Note: I haven't used this, but could the poster use the Import/Export module from the User Contributions page?
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=25185&postdays=0&postorder=asc&start=15
http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=G2%20-%20User%20Contributions
Then using your suggestion above the the import/export metadata they should be able to copy over an album with it's information. Correct?
Posts: 32509
haven't used it either and it probably needs an update (CoreApiChanges).
Posts: 10
Maybe it would be an idea to add some info about titles and such in an xml file when doing a zip download? Or at least have an option to include titles so that when you upload the archive to another album, g2 would look for the xml file, and then add titles from it? Just a thought.
Posts: 314
Sorry, didn't see this topic until now... I was using the module that nivekiam is referring to quite extensively when I was shuffling the albums back and forth between servers (it saves/restores metadata quite nicely... but of course I am biased). Since there is interest I'll update it to work under current gallery version.
bharat and I discussed it for awhile, and make it properly, it requires addition to the architecture that we decided isn't worth the effort at this time. So, it will stay in "user contributions" for now.
note, that it doesn't use xml file, but rather PHP format for serialization of the data. Also, I think it doesn't allow to download to the client (although I don't remember for sure)
Stay tune!
Posts: 16503
I'm curious. Why would a tool like this need to have a change to the architetcure?
I would like to see that this tool at least remains available. I haven't used it yet, don't know if I ever will. Actually I know I will eventually. But I would more importantly just like it available to have in my little toolbox. Just like bharat's cleanup script.
Posts: 314
nivekiam, glad you asked!
the problem is that we need to choose one of two options:
1. export module needs to know all the things it's going to export. Think of all the metadata other modules can persist (comments, layout details, EXIF/IPTC information, etc). Obviously, rather bad design.
2. export module creates a "hook". I think there is a better word, but it's essentially a facility that allows every module to register its interest in exporting (we use it for many other things as well). Then, of course, it's much easier to keep the core export module current, but initial implementation requires change in the core (to register such hook) and changes in most of the modules to use such hook...
Yes, I will keep it current... maybe with some delays!
Posts: 16503
Ah, I understand. It's clear. Now I can see why it could be hard. Thanks for the explaination.
Posts: 10
Any news concerning this? Is it possible to move albums from one gallery to another now and still keep the titles, captions, dates and so forth?