Gallery Uploader 0.2.2

Gallery Uploader is a Python script that can upload pictures to Web Gallery (only versions 2.0 or above).
Gallery Uploader is a Python script that can upload pictures to Web Gallery (only versions 2.0 or above).

Gallery Uploader supports multiple galleries. To do it so, you need to save URL, User and Password using the –save option, passing a name to the gallery. You can point to this gallery using the -G option. If there is only one gallery in the configuration, you won’t need the -G option, as GUP will automagically use that gallery.

Creating Albums

To create an album, you need the -c option. This option takes three parameters:

Parent album id: the id of the album where the new album will be created. There is an special album with id “0″, which is the root of all albums, but it is NOT the album you see when you open Web Gallery in the browser. To find this “first album”, you can use the –show-child=0 option;

Album name: it’s the name your gallery will have. In the web interface, it is the first field asked when creating an album. Internally, it is the directory name in the server where the pictures will be stored (so, invalid file names will cause GUP to fail);

Album title: it’s the visible part of the album, displayed on the page.

Also, note that there is three parameters and that space is used to split them. So, if you want to add spaces to your album name or album title, you need to enclose it by quotes, like -c 7 my_first_album “My First Album” (this will create an album named “My First Album”, stored as “my_first_album” in the server, under the album with the id “7″).

Uploading Images

To upload images, you need to create an album (using something like the above example) or using the -a option, passing the album id. Also, if you don’t need the picture in your computer after uploading, you can use the –delete option.

Requirements:

Gallery (2.0 branch)
Python 2.4

What's New in This Release:

Added setup.py, so now gup can be installed.

last updated on:
February 28th, 2007, 17:56 GMT
price:
FREE!
developed by:
Julio Biason
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT