Picasa upload to Gallery2
There are no translations available, showing the original:

  • Download source python code from http://code.google.com/p/picasa2gallery/
    • [ svn checkout http://picasa2gallery.googlecode.com/svn/trunk/ picasa2gallery-read-only ]
  • Download and import picasa button
  • Download source python code from http://code.google.com/p/galleryuploader/
    • [ svn checkout http://galleryuploader.googlecode.com/svn/trunk/ galleryuploader-read-only ]
  • Create wrapper script. As picasa is not native linux app but is running through wine, it exports files to C:\windows\temp\. This wrapper script changes this to real linux paths. Please adjust the paths:
#!/bin/sh
# $Id: picasa2gallery_wrapper.sh,v 1.1 2009/01/31 22:51:38 cvsoernii Exp $

ALLFILES=$(echo $* | sed -e 's/C:\\/\/home\/oernii\/.google\/picasa\/3.0\/drive_c\//g' -e 's/\\/\//g')
python /home/oernii/bin/picasa2gallery-svn/picasa2gallery.py $ALLFILES
  • Edit picasa button to read: <param name="exe_path" value="/home/oernii/bin"/> Adjust the path in the script AND in the button to reflect your setup.

PS: degugging tip: run a dry test of galleryuploader in a terminal window first. Try download and save your folders list for example:
python gup.py --list-albums -G http://my.gallery/gallery2/ --save=myGallery -u g2USER -p YOURPASSWORD

This should create 2 files and your ~/.gup/ directory.