Gallery 2 API - Linking

fweeee

Joined: 2006-12-16
Posts: 46
Posted: Sat, 2006-12-16 01:43

Hello,

I'm thinking of writing a script to automatically upload photos/albums to gallery2. I've had a look into at galleryadd.pl, and beleive I can copy most of the API calls in my own script to do what I want. I also wan to integrate links into my script though, and galleryadd.pl does not allow for linking (as in, linking a single photo to multiple albums). I've been looking through the files, looking for some idea of how I should do it, but I'm completely lost.

So, my question is, is there an API for linking a photo with an album? If so, how do I use it?

Thanks in advance,

Shanon.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Mon, 2006-12-18 01:26

http://codex.gallery2.org/index.php/Gallery_Remote:Protocol is probably a good place to look around some more.

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.