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.)
|
|
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.) |
|
|
Hey Johan! line 210
Please give some credits to znerp Thanks. |
|
|
Thanks Johan! |
|
|
Bug fix: now doesn't steal keyboard input from form text inputs. |
|
|
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! |
|
|
Removed superfluous black div and made it ignore duplicate image links. |
|
|
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. |
|
|
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. |
|
|
Doesn't clear the loaded image from RAM here (1.5.0.4). Can someone approve it? |
|
|
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). |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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.
