Nautilus-script to upload images to Imgur

6/06/2010

I’ve been looking around for a way to quickly upload images to the web without having to deal with any dialogs, menus or captchas, but to my utter surprise - I couldn’t find one that worked with multiple files, spaces, etc. So I decided to make one on my own. My first idea was to create a gnome panel applet that you could simply drop an image on top of, have it be uploaded somewhere and get the URL to it on the copyboard. However, that idea turned out to be horribly complex - and I don’t think panel applets support drag-and-drop anyway.

Upload to Imgur in action

So instead I created a nautilus script! It was quite complicated to get it to work, for reasons I’m not going to go into now, but at least it works. You can select one or more files, right-click and goto scripts → Upload to Imgur and the script sorts out any files that aren’t permitted and then uploads the ones that are. What you get back is a set of newline delimited URLs to your uploaded images - straight into your copyboard, so all you have to do is press Ctrl +V to use them.

Download

Downloads are available from Gnome-Look.org. Simply run the installation script to install.

3 Comments