Google Image Direct

By Vaughan Chandler Last update Sep 19, 2010 — Installed 13,145 times.

Some questions...

in
Subscribe to Some questions... 12 posts, 3 voices



copota User
FirefoxWindows

Thanks for this script, it works great. Though I have a question about its behavior.

I noticed if I click an image before it pops out on hover, I get sent to the website rather than the image itself. Is this normal? If so, you may want to mention that under "TIPS", to wait for image to pop out before clicking.

I know you're busy with your other fantastic scripts. I thought I'd mention a suggestion for this script. Would it be possible to add a feature where the image can be viewed on the same search page? This way, one does not have to click back each time after viewing an image.

EDIT: The reason I'm suggesting an option for the image to be viewed on the same search page, is because I feel that would be faster, rather than clicking an image, seeing it on another page, then clicking back and having all the images on the search page reload again.

Though, your script, just the way it is, saves a ton of time compared to what Google did.

 
Vaughan Chan... Script's Author
ChromeX11

Hi copota, I just updated the script. With this version you shouldn't have to wait for the popups.

I want to keep this script as simple as possible, so I'm not going to be adding any options to it. If you want to view several images from the results you should either middle-click or control-click on the thumbnails - they will still go directly to the image, but in new tabs. I've added this to the tips on the description page.

 
copota User
FirefoxWindows

Thanks for the update. I've tested it numerous times by quickly clicking on a pic before it popups, and every time it opened directly to the image. So it appears your update improved this script even more.

As for your suggestion to middle or ctrl click, I've decided to go the mouse gestures route. Since I already use the Fire Gestures extension, Gesture Up on a pic opens in a new tab, and gesture down+right closes the tab. That works well for me.

One problem. When I use Fire Gestures to open a pic in a new tab (Gesture UP), I have to wait for the image to pop out. If I immediately use Gesture Up on an image it sends me to the web page. Do you feel this is simply the behavior of the extension or can a fix be applied?

 
Vaughan Chan... Script's Author
ChromeX11

Personally I prefer middle-clicking because its the fastest of all the options once you have an actual mouse. But the fix to get FireGestures working was a simple one, so the newest version of GID should work fine for you.

 
copota User
FirefoxWindows

Glad to hear the fix for fire gestures is a simple one.

As for middle clicking, I'm using Windows 7 with an Intellimouse, so by default, Windows 7 activates the "Aero Windows Flip" feature upon middle clicking, even if clicked within a browser. Therefore, those that like middle clicking "Windows Flip" may not have that option available to them for opening images. Also, if someone is using a virtual machine, there is usually no support for the middle click, not that, that might be a big issue, just thought I'd mention it.

Anyhow, I usually configure middle clicking to open an app launcher, which is why mouse gestures is the right fit for me, so thanks for the fix, much appreciated. You made browsing Google Images convenient again.

EDIT: Just tried your latest version with Fire Gestures, and everything is working perfectly, Thanks!

 
copota User
FirefoxWindows

I have another question, sorry to be a hassle. I was just wondering if there is a way to actually go to the webpage the image is linked to. Sometimes when I do an image search, I want to see the webpage linked to the pic.

Is there a way to do that with your script? If not, can a webpage link be added?

 
Vaughan Chan... Script's Author
ChromeX11

Don't worry, requests help make scripts better :)

Its actually a little more complicated that it would appear because the script has to handle several different types of images/links to make it work on both the regular search results and image search results, plus Google doesn't use the new layout for all the browsers that the script supports either. If I can think up a decent way to implement it I will.

Does Windows 7 do anything differently from XP with regards to holding the CTRL, ALT, SHIFT or WIN keys while left-clicking within a window? Also, if any Mac user happens to view this thread, could you answer that question too please (for CTRL, ALT/OPTION, SHIFT and COMMAND keys).

 
copota User
FirefoxWindows

I'm not to keen when it comes to keyboard shortcuts, never really used them, I'm a mouse junkie. Particularly since I use my PC as a HTPC too, which makes me even more reliant on the mouse.

I tried Googleing around for a definitive list of Windows keyboard shortcuts, but just basically found blog entries of their fav shortcuts.

If you want me to try a particular keyboard shortcut to see its action, let me know, I can try it on a Windows 7 machine and a WinXP virtual machine.

 
Vaughan Chan... Script's Author
ChromeX11

Well I just checked out some stuff myself, and holding any one of CTRL, ALT or SHIFT which clicking already does something special on Linux (either by the browser or the OS itself). So that just leaves the Windows/Command (Meta) keys.

Try clicking on a link while holding the Windows key and let me know if the browser or Windows itself does anything out of the ordinary. I have an XP virtual machine too, so I can check that one myself.

Out of curiosity what software are you using for virtualization? I noticed you mentioned that middle-clicking gives trouble, but I've never had any issues with it in VirtualBox.

 
copota User
FirefoxWindows

When I hold down the Windows key and click a link, it appears to just click through as a normal left click, though my Start Menu opens upon releasing the windows key.

As for my virtualization app, its vmware. Since you mentioned middle clicking works fine in VB, I decided to research it in vmware, and it appears five button mouse support has been added back in version 6.5, I'm currently using 7.1. I tested it out, and middle clicking does appear to work, but I was experiencing a problem where sometimes middle click will work in the guest, but sometimes activate and switch to the host.

I've seen other google image userscripts (http://userscripts.org/scripts/show/48293) enable the green link on each image to goto the source website. I've tried other userscripts for google image, and they're good, but I found yours to work the fastest and most lightweight, which is why I was hoping a source website solution could be added if it doesn't turn into a big problem.

 
Vaughan Chan... Script's Author
ChromeX11

I can't believe I didn't remember that the Windows key would bring up the start menu afterwards. Guess I'm really not using Windows much these days. Not that that's a bad thing :P

Anyway, I just made a release that allows you to control what the images link to. You can either go directly to the image, to the page that Google found the image on, or the normal Google frame what you would get without the script. The options are listed under Google's search options.

 
XUXO User
ieWindows

Thanks for this great job.but I noticed a litter Problems.
when I set GID_linkType = 'referer';
it works great in IE8(XP) with the old image results layout.
but the new layout with image zoom effect.and when I click on .
it dictcted to "http://www.google.com/null" or other link.
Is there a way to FIX it.
Thanks again. and excuse me about my bad english