tinypic uploader

Nautilus Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
4.7

Description:
tinypic.com uploader

TINYPIC HAS STARTED USING CAPTCHAS
THIS SCRIPT NO LONGER WORKS

* mass upload selected files
* recurse directories
* actively prints links as files upload

written in python

TO INSTALL
* save to ~/.gnome2/nautilus-scripts/tinypic
* make the file executable

REQUIRES
* `zenity`
* `curl`
* `file` with mime-type detection

TO USE
* select file/s with mouse
* right click on it/them
* Scripts -> tinypic
Last changelog:

may 18th 2010 - version 4.0
* usable in command-line
* output is more parseable
** command-line output prints link(tab)sourcefile
** program messages between two dashes "--"
** directory names between three dashes "---"

feb 2nd 2010 - version 3.1
* fixed bmp support
* added pcx, psd, tiff
* omitting extensions from links

dec 7th 2009 - version 3
* not so ugly
* allows special chars in filenames
* when recursing, uploads files before entering subdirs; better organized output

mar 8th 2009 - version 2
* moved to python

nov 6th 2008 - version 1
* horrid bash script


Ratings & Comments

17 Comments

AdyGudus

instruction for how to use this script? how to add them in nautilus? ware i can find it?

magicmarkers

Yes hello, To install: Download the script and save it to ~/.gnome2/nautilus-scripts/ Make sure the file is chmod u+x To use: Select files/folders, right click, scripts->tinypic

GrzegorzJZD

If You are open for some request and suggestions, I've two for You: 1)Add possibility to send images as TinyPic logged user, into user account. 2) TinyPic actually don't convert images format, only changes file extension. So if You upload a PNG file to TinyPic, it will generate link to JPG, but if You check file format (not only extension), You will notice it is the same as original image. Could your script replace jpg extension generated in TinPic URL to original extension?

magicmarkers

the login feature is a good idea that might warrant a fork. it will do something like pop up and ask you for username/password before proceeding with the upload and storing the session cookie locally in the scripts directory as a hidden file, only bugging you for user/pass once the cookie expires. thanks for the input!

GrzegorzJZD

You're absolutely right about security if password and login would be stored in scripts, it matters especially if You don't crypt home partition or folder with scripts. But it might be easier to implement (to be honest I don't know), this way or other it will be great thing to be able to send images to TinyPic account.

GrzegorzJZD

TinyPic doesn't convert images to jpg, it only changes extension. You can check it after open image in web browser (see properties of displayed image, it will always be jpg extension, but an original format like png or other).

yanimrjack

Works great ! Thanks.

magicmarkers

Awesome!

waltercool

I just love it

magicmarkers

thanks!

vbsampath

Hey sorry for the comment ..previously I didn't installed the CURL package so I got a error .. But anyways I have some idea to develop this .... well if the script could do a little extra .. like redirecting the output of the filename ...the timestamp when we are uploading and then tinypic url ....to a log file .. you may ask where this will be useful but some people like me forget easily just what I did some mins ago ..so if I want my link back then I can get it from the log and there would be history of all uploads I done ..and it would be lot more organized when we are uploading lots of pics well if any one can help me out on deleting my comments ..bcz the earlier comment should be deleted

magicmarkers

well the idea was to have the output copy/paste-ready; timestamps and logs dont really seem relevant. dont let this discourage you from modifying the script on your own though, if thats what you need it to do.

vbsampath

Hey buddy ..this script is not working for me .. I selected a image of size 240x320 and its 14kb in size ..then I selected the script ...then I get the error FORM ERROR .. what could I have done wrong here ... when I did manually Its uploading ..i.e., via the website

Shadestealer

It doesn't seem to work for me - doesn't return a download link for the image, only a message "--done--". Also even if I select a bigger image (which should at least 10 or 15 seconds to upload considering my connection) the message appears right after I click on the script, so it doesn't even look like uploading it. Am I doing something wrong?

magicmarkers

what kind of image is it

Shadestealer

I had tested it with .jpg and .png, now I don't remember what exactly happened but it didn't seem to work, then I totally forgot about it. However the new version works perfect. Thank you, it's really useful! :)

magicmarkers

awesome glad its working :)

Pling
0 Affiliates
Details
license
version 4.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags