tinypic uploader

Nautilus Scripts

Source (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
Score 46.0%
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:

9 years ago

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

AdyGudus

9 years ago

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

Report

C

magicmarkers

9 years ago

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

Report

GrzegorzJZD

9 years ago

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?

Report

C

magicmarkers

9 years ago

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!

Report

GrzegorzJZD

9 years ago

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.

Report

GrzegorzJZD

9 years ago

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).

Report

yanimrjack

10 years ago

Works great ! Thanks.

Report

C

magicmarkers

10 years ago

Awesome!

Report

waltercool

10 years ago

I just love it

Report

C

magicmarkers

10 years ago

thanks!

Report

vbsampath

10 years ago

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

Report

C

magicmarkers

10 years ago

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.

Report

vbsampath

10 years ago

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

Report

Shadestealer

11 years ago

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?

Report

C

magicmarkers

11 years ago

what kind of image is it

Report

Shadestealer

10 years ago

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! :)

Report

C

magicmarkers

10 years ago

awesome glad its working :)

Report

9 years ago

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

12345678910
1
product-maker I4C Feb 19 2013 3 bad
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Nix
May 21 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
4.0
updated May 21 2010
added Nov 06 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2
System Tags addon