Option to set wait time until image popups

in
Subscribe to Option to set wait time until image popups 8 posts, 3 voices



dudebudbro Scriptwright
FirefoxWindows

Sometimes when you're viewing a set of thumbnails on a flickr page they will be extremely close together and it's really hard to zoom in on the one you want. Can you add a delay option to popup the images?

 
decembre Scriptwright
FirefoxWindows

+1 ;-)

 
Anand kumar Script's Author
FirefoxWindows

And, done!

 
dudebudbro Scriptwright
FirefoxWindows

you're amazing thanks :D

 
dudebudbro Scriptwright
FirefoxWindows

The snap to cursor is a nice feature too but it doesn't immediately snap when you hover over a picture. The picture will popup offscreen almost and then when you move the mouse a little it snaps.

 
Anand kumar Script's Author
FirefoxWindows

I have fine-tuned this a little but I still cannot eliminate that what you are experiencing. I'll work on that a little and see how it goes.

 
dudebudbro Scriptwright
FirefoxWindows

Hmm the updated version doesn't seem to work as well as the last version. The picture doesn't snap directly to the cursor anymore. It's farther off from the cursor.

Also, if you move the mouse around while it's hovering over the thumbnail the preview image gets bigger or smaller depending on the direction you move the mouse. The same thing happens for the IMDB Ultimate Thumbnail Expander script. It didn't do this in the last version.

Moving the mouse a little to snap the picture is not as big a deal as these new issues so I went back to the previous version. Thanks for your effort.

 
Anand kumar Script's Author
FirefoxWindows

dudebudbro, thanks for the feedback.

Yes, the new code will keep the image a bit farther off the cursor (around 20px) to make sure that the cursor does not "lag" onto the preview image. I will try to reduce this distance as much as I can.
I did notice a bug in where in the image displayed very far off the screen when the image is a landscape image rather than a Portrait.

Regarding the resizing of the preview image when moving your mouse: it was deliberately done to make sure that large images don't go off-screen when when there's no space for them to display. This way, even large preview images can be made to "snap to cursor". I'll see if I can make a toggle for this behavior in the Settings screen.