Limetten-HeaderText-Header

Gallery2

Zum automatischen Upload für die Galerie bietet sich folgendes Skript an: galleryadd.pl Pfeil

Parameter

-a album album to be used for uploading image(s) or directory
-c album create new album for uploading image(s) or directory
-C text caption for image(s)
-d text description for new album
-g url URL of gallery (default: http://gallery.yoursite.com)
-G [1|2] gallery version being accessed (default: v1.x)
-l list available albums for specified gallery
-n do not verify if album exists before starting upload
-p pass password to use to login to gallery
-q quiet mode (unless errors are encountered)
-t text title for new album (if not specified uses -c value)
-u user username to use to login to gallery (default: admin)
-z zap caption that is by default derived from filename
-h help
-v verbose

Anwendungsbeispiele

  • galleryadd.pl -g http://gallery -u admin -p secret123 -a mycars bmw.jpg Lädt das Bild bmw.jpg in das Album mycars.
  • galleryadd.pl -g http://gallery -u admin -p secret123 -c xmas /tmp/*