My favorites | Sign in
Logo
                
Search
for
Updated Jan 10, 2009 by jayeshsalvi
Labels: Phase-Deploy
GimpPublishr  

Publish to Flickr, Picasaweb right from Gimp!

Drop this plugin into your Gimp plugin directory and publish your images to your Flickr or Picasaweb account right from Gimp

Download the latest (0.5) version from Downloads

Please email you problems to jayeshsalvi AT gmail DOT com. Your input is highly appreciated.

Note: If you do not see the "Publish to web" option in menu even after deploying the plugin and do not get any crashes either, make sure that Gimp python is installed. One check to verify that is checking existence of python directory in your Gimp installation directory (On windows C:\Program Files\GIMP-2.0\lib\gimp\2.0\python, on Linuxes /usr/lib(64)/gimp/2.0/python/). If it's not installed the plugin never gets invoked (even though it shows up in startup splash screen) so it cannot report that problem

Changelog and Known issues

Installation:

  1. Download publishr-
    <version>
    .tar.gz or publishr-
    <version>
    .zip
  2. Untar/Unzip the contents of this file into your Gimp plugins directory in your home directory:
    • For linux this path will be $HOME/.gimp-
      <version>
      /plug-ins/
    • For windows this path will be something like C:\Document and Settings\
      <username>
      \.gimp-
      <version>
      \plug-ins\
  3. Restart Gimp if it's already running.

Usage:

Flickr:

  • Once you are ready to publish your image to Flickr, save the image you want to publish in JPG or GIF format.
  • Invoke File -> Publish to Flickr
  • If this is your first usage or if you had signed out during last usage, you will be asked to "Sign into Flickr!"
  • Once you click on "Sign in", you will be presented with a URL and a button to proceed further.
  • Open the URL in your browser. If you are not logged into your Flickr account, you will be asked to do so by Flickr at this point.
  • Once you have logged into your Flickr account, you will have to authorize "altcanvas" so that it can upload to your account.
  • Click on "OK, I'll allow it" and then press the button on the dialog to proceed further.
  • You will be presented with Image upload dialog, where you can fill in Title and other details
  • Hit upload and your are done!
  • Henceforth (until you sign out of Flickr) you will see "Publish to Flickr" button which will directly lead you to above Image upload dialog.

Picasaweb

  • After invoking the plugin click on "Sign into Picasaweb"
  • You will be led to a login screen where you can enter your Picasaweb (i.e. Google) username and password info. (If you are hesitant about entering your accound info, note that your password will NOT be stored or transmitted over network in plaintext. It is passed to Google's GData library which transmits the password over encrypted SSL connection)
  • Once you are successfully signed into Picasaweb, you will be led to the upload screen.
  • Some fields are not yet supported in this version. They will be enabled in future versions.

Debug tip

If you don't see the 'Publish to web' item in drop down menu - then Gimp didn't load the publish plugin successfully. This may happen if you haven't placed the plugin in right location, or Gimp incurrend an exception while loading the plugin. This can be found by running Gimp from command line with verbose option - 'gimp --verbose'. This will tell if and why loading of the plugin failed.


Comment by kables, Dec 10, 2007

Very useful and straightforward -- just what I've been looking for. My only real comment is that it would be nice if you didn't have to save the photo first -- or if it would just save it to a temp directory for you. I don't save any of my touched-up photos, except on Flickr, so don't have a need for saving these locally. --kables @gmail

Comment by lane.lester, Dec 12, 2007

Disappointing. I unzipped the package to ~/gimp-2.4/plugins, started gimp, loaded a photo, and there's no "Publish to Flickr" in the File menu.

Comment by fracollard, Dec 12, 2007

A bit disappointing with my Mandriva Linux too: upload to Picasa works OK, but the script crashes when I try to upload to Flickr. The script works with Windows, but I miss the possibility of using French accented characters in titles, tags and comments: in fact, it means you cannot write them in French (nor in German, Spanish, Turkish, Italian, etc. Only English or Latin!)

Comment by jayeshsalvi, Dec 13, 2007

Hi guys. Thanks for using the plugin. Please find my comments below:

lane.lester, the plugins directory would be "~/gimp-2.4/plug-ins/", unless of course you have changed the gimp configuration file OR that is a typo. Another reason for it not showing in menu is, you didn't turn the permissions on the downloaded file executable. I have seen that to be the reason on occasions.

fracollard, It is possible that the strings are not being handled in utf8 format, hence any non-english characters may not work and script crash. I haven't tested it for languages other than english.

Unfortunately, Gimp doesn't have a exception catching mechanism for the exceptions unhandled by plugins. In coming release I am going to put a catch-all block that will help debug any problems you guys may face.

Comment by tim.mouse, Dec 21, 2007

there's no "Publish to flickr" in my File menu, too. SAD.

Comment by crusssmith, Jan 03, 2008

Ubuntu 7.04, Gimp 2.2, followed install instructions, I do see the untar files in the plugins dir, and restarted GIMP, but no 'publish to' choice under 'file menu'

Comment by isaac.mao, Jan 16, 2008

same problem, not seeing the "publish" item on file menu , :(

Comment by ericlaylaw, Jan 17, 2008

Thanks for your work on what sounds like a very useful plug-in.

Unfortunately I am also not getting the publish option on my file menu. Have double-checked plug-in folder location, and other plug-ins installed there are working OK.

Thoughts?

Comment by ericlaylaw, Jan 17, 2008

Just to add to my previous post. I am running Windows. I am also borderline computer illiterate so forgive me if this is a dumb question.

I am just rereading your instructions. Do we load the "publishr-gimp-0.3.2" folder into the plug-in folder? Or do we load the contents that folder in it -- the "libpub" folder and the "publisher.py" file?

(I have tried both, neither worked...)

Comment by jayeshsalvi, Jan 17, 2008

Hi eric: You have to unzip/untar the archive file so that "libpub" and "publishr.py" are directly under your plug-ins directory.

To debug what is wrong with the plugin, could you post your python and gimp version info?

Comment by ericlaylaw, Jan 17, 2008

Thanks. Yes, I unzipped first. I just wasn't sure what to load.

I have Python 2.5.1 loaded, and I am running Gimp 2.4.2 (the Windows version). Is that the problem, that I am running the Windows version (I noted that "publishr" is the only Python file in my plug-in folder).

If it helps, publishr does not show up when I browse plug-ins within GIMP.

Thanks for your time.

EL

Comment by ericlaylaw, Jan 18, 2008

Just used a great package posted in the GIMP users flickr group to get Python integrating with GIMP on my windows box -- everything works great now.

EL

Comment by jayeshsalvi, Jan 18, 2008

Thanks Eric, that's gr8 to hear and nice of you to post it for others. I wasn't aware of this extra Python-Gimp needed for windows. Could you post a link, so that I can document it under dependencies?

Comment by siddharthhacker, Jan 19, 2008

very cool work dude

Comment by jmdurant, Jan 22, 2008

would it be possible to show the hyperlink to the posted photo. This would allow quick posting and then sharing of the link to others. Thanks!

Comment by maxim.lezine, Jan 22, 2008

i have this msg appears (ubuntu 7.10 amd-64)

Sorry!!!

The publishr plugin has hit an Unknown Exception. Following is the traceback of the exception. You can help improve this plugin by reporting this exception.

All you have to do is press "Yes" to report the exception

sys.version = 2.5.1 (r251:54863, Oct 5 2007, 13:50:07) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)? Publishr version = 0.3.2

Traceback (most recent call last):

File "/usr/lib/gimp/2.0/plug-ins/publishr.py", line 30, in <module>
import libpub.gui
File "/usr/lib/gimp/2.0/plug-ins/libpub/gui.py", line 30, in <module>
from libpub.picasa import PicasawebObject?,PicasawebRegisterBox?
File "/usr/lib/gimp/2.0/plug-ins/libpub/picasa.py", line 31, in <module>
import libpub.gdata.service
ImportError?: No module named service

Comment by jayeshsalvi, Jan 22, 2008

Maxim, it's a known bug and there is a workaround for it. You can find the details here:

http://code.google.com/p/altcanvas/issues/detail?id=14

Comment by nileshsalvi, Feb 26, 2008

hey it's cool. worked fine with me. at first, I tried to upload a screen-shot as i wanted to insert it as inline link upon my blog. I used picasa client which made my system too much slow. (it happens every time i start picasa client, never mind). But this was just too easy and cool. With this, I tried uploading on Picasa first. But the image could not be seem at it's real size in Picasa. So I thought of going on flickr and hey, option for flickr was just next to it. Handy huh! Good work.

Comment by mmontoya, Jul 22, 2008

/home/manuel/start/ is my ~. So on Debian SID:

Sorry!!!

The publishr plugin has hit an Unknown Exception. Following is the traceback of the exception. You can help improve this plugin by reporting this exception.

All you have to do is press "Yes" to report the exception

sys.version = 2.5.2 (r252:60911, Jul 12 2008, 12:02:40) 4.3.1? Publishr version = 0.5.0

Traceback (most recent call last):

File "/home/manuel/start/.gimp-2.4/plug-ins/publishr.py", line 35, in <module>
jpegfilename = gp.svg2jpeg(svgfilename)
File "/home/manuel/start/.gimp-2.4/plug-ins/libpub/gdkpixbuf.py", line 46, in svg2jpeg
pixbuf = gtk.gdk.pixbuf_new_from_file(svg_filepath)
GError: Failed to open file '-gimp': No such file or directory

Comment by cloud8421, Sep 14, 2008

FOR ALL THOSE WHO CAN'T SEE THE FILE MENU PUBLISH ENTRY

When you unzip the file, it probably creates a folder with the same name as the zip file. You need to move the contents of the folder in the plugin directory, not the folder itself.

Hope it helps.


Sign in to add a comment
Hosted by Google Code