Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Instant Gallery

Load all pictures from a thumbnail gallery at once and navigate them with arrow keys or mouse. Images may be zoomed with 'z' and 'f', or dropped from the sequence with delete.

(This script is a fork of the original GPL QuickGallery by Jos van den Oever.)






Jun 25, 2008
Johan Sundström Script's author

Thanks; added. (With this many users, it actually might be a point to rewrite it to fix all the annoying bugs I inherited from the original, at some time.)

 
Jun 23, 2008
simon! Scriptwright

Hey Johan!

line 210
replace bigimg.style.background = 'red';
with bigimg.style.background = 'transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGElEQVQYV2N4DwX/oYBhgARgDJjEAAkAAEC99wFuu0VFAAAAAElFTkSuQmCC") repeat scroll 0% 0%';

Please give some credits to znerp

Thanks.

 
Oct 24, 2007
Tieso Scriptwright

Thanks Johan!

 
Oct 24, 2007
Johan Sundström Script's author

Bug fix: now doesn't steal keyboard input from form text inputs.

 
Mar 12, 2007
SparcMan Scriptwright

While I don't like that you can't scroll around when the image is bigger than the screen, it does very well what it was made to do. Handy script!

 
Aug 20, 2006
Johan Sundström Script's author

Removed superfluous black div and made it ignore duplicate image links.

 
Jul 25, 2006
Johan Sundström Script's author

There are some other minor flaws like always adding (a display:none) div for the black background, which ought to be fixed too, but I've been lazy about this. Many aspects about this script could do with some refactoring.

 
Jul 25, 2006
Johan Sundström Script's author

Sounds like you might be right. As you load the next page, though, it should be taken care of by automatic garbage collection, though I have not actually verified with leak detection tools -- feel free to try and report.

 
Jul 25, 2006
Nightwolf User

Doesn't clear the loaded image from RAM here (1.5.0.4). Can someone approve it?

 
Apr 15, 2006
Johan Sundström Script's author

In a way that is very intentional behaviour (as scroll bars compete for visual attention), in a way it is a missing feature that ought to be available in some browsing mode. I have no immediate plans on addressing it, but welcome patches (or additional forks, whichever is the more practical approach).

 
Apr 11, 2006
Mickey User

If the image is larger than the screen, Instant Gallery doesn't create a scrollbar, and the image is cut from the top. Can you please fix that? Thanx.

 
Apr 10, 2006
Jos van den ... Scriptwright

I'm completely fine with you improving the script. That's one of the great things of free software. I didn't know about naming restrictions in the GPL actually. Interesting. Thanks for the credits.

 
Apr 9, 2006
Johan Sundström Script's author

Neither the name napping nor not crediting your work enough has been intentional -- I am really just interested in improving the script, not maintaining a fork project or anything, but since it's technically a GPL violation I have renamed it now.

 
Apr 9, 2006
Jos van den ... Scriptwright

By the way, interesting that you can 'steal' the name so easily. I'd appreciate it if you pointed to the original in the desription.

 
Apr 9, 2006
Jos van den ... Scriptwright

Hey, nice to see a fork with some tweaks. The thinks you've changed are a matter of taste and i prefer them the way they're implemented in QuickGallery (no background). The super-zoom is interesting too. A configuration dialog would be a cool way to deal with the growing number of features, but I can't be bothered to write one :-). That would be the best next step though.

 
Apr 8, 2006
Johan Sundström Script's author

Feel free to hack up a version of your own -- I will not (it taints the focus on the image :-). Adding a dark.style.opacity = '0.80' line makes the background semi-transparent (the image link tooltip uses that and a full black background).

I haven't changed the 32 image threshold, as it aggressively preloads all those images (an ugly bug/misfeature I have not addressed yet), which both hogs lots of memory and penalizes the web server.

 
Apr 8, 2006
Mickey User

I love the new background, keeps full focus on the image. My only request, can you make it transparent, like in (Image Link Tooltip), please? I changed the number from 32 to 999, and the background from #000 to #696969. Bat that's the most I know how to do.

 
Apr 8, 2006
Johan Sundström Script's author

Note: this is a fork of http://userscripts.org/scripts/show/2330 which adds a black background in view mode (togglable with ctrl, which was probably sub-ideal -- will probably change later on), removes the tracking code and adds two keyboard bindings: delete, to drop an image from the navigation sequence (to re-add it again, click that image in the web page), and f, to zoom the image to fill the entire screen, clipping off the bits of the image that don't fit the window aspect ratio.

You could comment on this script if you were logged in.