Local Image Uploading From Script

yesimahuman

Joined: 2008-04-29
Posts: 9
Posted: Thu, 2008-05-08 20:48

Is there a way I can add items to a gallery album that have been uploaded to a folder on the server through a custom PHP script?
My process goes something like this:
1) Upload images to server securely.
2) Create new user.
3) Add images to user's album.

So far I have the auto user creation working, and the image uploading is through scp so that's covered, but how can I inject these photos into the users album?

Note: I am aware of the "add images from local server" option in gallery2, but manual addition is not an option.

Thanks.

Login or register to post comments
yesimahuman

Joined: 2008-04-29
Posts: 9
Posted: Sun, 2008-05-11 21:01

Bump. Anyone? I've found GalleryCoreApi::addItemsToAlbum, but I don't know how to use this effectively (i.e. initializing gallery, etc.). Can this be used with GalleryEmbed (after init'ing GalleryEmbed)?

Login or register to post comments