Google Image Relinker

By Patrick Cavit Last update Jun 19, 2005 — Installed 41,121 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 22 posts, 17 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
anonymous_user User

Im surprised this script is still works well. Nice job :)

 
nitro322 Scriptwright

Just a quick FYI: The previous link I posted for my modified script, which adds a direct link to the website under the images, no longer works. The script can now be found on this page:

http://www.legroom.net/howto/firefox

Sorry for the inconvenience.

 
Openbah User

Great script, works perfectly. Thanks!

 
SanskritFritz Scriptwright

Thank you nitro322, this is exactly what I needed! Great stuff!

 
thorbenhauer Scriptwright

@Dan http://userscripts.org/scripts/show/5082

 
nitro322 Scriptwright

SanskritFritz (and anyone else interested), you can grab a modified copy of the from here:
http://www.legroom.net/modules/Open_Source/fire...

I hacked this together a while back, so I don't recall if it's based on FurYy's suggestion of it it's something else I came up with, but it does the job nicely. You're more than welcome to it.

 
SanskritFritz Scriptwright

[b]Patrick[/b], thanks for that useful script!
[b]<u>YM</u>[/b], please provide me with the hacked version of the script. I tried to apply the suggestions made by FurYy below, but something went wrong, and I got some veeeery looong links under the pictures :-(
Email me at greasemonkey@mailbox.hu please.

 
Dan 1 User

Any way you can make a copy of this script for the Yahoo Images search? Yahoo Images Relinker would make my life complete. :-)

 
YM Scriptwright

I love the script, and I have a working version based on FurYy's method of adding links to the web site. It replaces the domain text (the third line below the image) with a link to the web page. I'd be glad to show you my changes.

 
Votu83 User

Anyone know how to make this work for Blingo images?

 
Robert Soros. User

It's absolutely frustrating that this one script has not worked for me because I really really want it to :-) For example, with the script installed and doing an image search for the term "korat" (safesearch turned on, it should bring up a bunch of cat pictures.) At the bottom of the first page of pictures, there is one yellowish picture sized 800x600,

"800 x 600
800 x 600 pixels - 104k - jpg
www.katter.nu"

Well, just clicking the link brings me to

http://www.katter.nu/special/korat/bak.htm

or if I "right click->copy image location" on top of the image, i get this location,

http://images.google.com/images?q=tbn:GsMZYnlX8...

(I was under the impression that the script would obliterate the first part of the link I just pasted, everything from the start (http) to the second colon (lX8vUJ:) and write that as the clickable link)

 
Desconocido User

Very useful! thanks

 
Mark Swartz User

wonderful ... thanks!

 
chster User

And oh yeah, it's working on Greasemonkey 0.6.3 on Firefox 1.5_rc3.

 
chster User

Excellent! This changed my life :)

 
Thomas E Androy User

This doesn't appear to work in 1.5b2. Is it just me or can anyone confirm?

 
FurYy Scriptwright

That is:

googFonts[x].innerHTML="

 
FurYy Scriptwright

nitro322 : If you'd like to have links to thewebsite i made this little hack to the script.

After "var GoogLinks" add this:
var googFonts = selectNodes(doc, doc.body, "//FONT[contains(@color,'#008000')]");

And between "if(gmatch)" brackets before href gets replaced:

googFonts[x].innerHTML="

And you should be done with ;)

 
nitro322 Scriptwright
Hi, Patrick. This is a great script, but I have one request. Sometimes, in addition to loading the direct image, I'd also like to directly load the website that contains the image. I've found that this line will get that value:
var ghtml = googLinks[x].href.match( /\&imgrefurl\=(.*?)\&h\=/ );
However, I can't figure out how to output a new link to the page. Basically, I'd like to make the image link directly to the source image, but then have a new link underneath or beside it that links to the containing web page.
Any chance you could add this capability? Thanks!
 
Arteekay User

Working under GM 0.6.2, another extension replaced by greasemonkey.

 
Josh Matthews Scriptwright

Wonderful, much nicer to have a script instead of an extension do this for me.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel