web:config

tips and tricks for the interwebs

gallery crawler

, , ,

This time I have a really simple script, which I did long time ago. But, it's very useful nonetheless.
How many times did you go image galleries, and had to flip through links, ads and poor page design to browse the gallery?
Unfortunately that's quite common. But, it's also quite common for pictures to be numbered sequentially.
For these cases I have the following solution:


The script adds that small menu, only visible if hovered (so it won't cover the image), and the keyboard also works. n goes to the next, p to the previous.
So, if you like the idea, download the script from
xerath-gallery-next.js

Have fun ! smile

EDIT (03-June-2009): I did a small update because images were dissapearing sometimes in imageshack. You may re-fetch the script

EDIT (02-Jan-2010): Fixed reference to helper function that was not included in the script, hence it broke for many other users.

for heavy duty postersa better quicktime

Comments

dapxin Sunday, March 1, 2009 3:50:12 AM

trying this now.... up xErath!

KarenNerak Sunday, March 1, 2009 5:01:03 AM

Brilliant! Thank you! happy

serious Sunday, March 1, 2009 8:25:31 AM

lol, my only two scripts are from you I just realize (this and scribit). Well, that shows how great your work is ^^

Tamil Sunday, March 1, 2009 9:23:39 AM

João EirasxErath Sunday, March 1, 2009 1:42:21 PM

Originally posted by Tamil:

It is not working here.


Thanks Tamil, it's fixed smile

Cyro Monday, March 2, 2009 6:19:56 PM

I wish Fast Forward & Rewind buttons could do it. But still, good job João.

HenryAOTEAROAnz Sunday, March 15, 2009 6:09:26 PM

Thanks.

João EirasxErath Tuesday, June 2, 2009 10:48:28 PM

Did a small update, check blog post

CycyXcycyx Monday, August 24, 2009 3:37:24 PM

Well, maybe it's me, but this one is not working well also...
When it pops, it's like no CSS is read, and it justs puts two "regular" links above images with "<Prev" and "Next>", but not it the upper left corner...

See here.

João EirasxErath Monday, August 24, 2009 8:08:01 PM

weird... do you have some user css, small screen or other user js interfering ?

CycyXcycyx Wednesday, August 26, 2009 9:40:02 AM

Good question. Maybe. I've disabled flashblock CSS, not using small screen, and have a bunch of user.js, but can't tell you if one is interfering...
I've just tried to remove all but your UserJS to no avail: same thing as in previous screenshot (and same thing for the Blender gallery for example).
Using 9.64/(Windows|Linux) with different skins on each setup.

otromba Saturday, January 2, 2010 10:21:37 AM

download xerath-gallery-next.js and how working
double click?
or what?

João EirasxErath Saturday, January 2, 2010 9:02:13 PM

@CycyX, bah ! Thanks for the report... silly bug but odd that only you complained. The script referenced an external function I only had in another script of mine with helper stuff. It's fixed (hopefully).

CycyXcycyx Wednesday, January 6, 2010 8:46:36 PM

Well, the style is better, I don't have the graphic glitch I had before, but I must say that now, I encounter another error.
On the Blender (http://www.blender.org) gallery (or others), I get the message "Parameter Error: Wrong parameters sent." when I click "Next"... sad

João EirasxErath Wednesday, January 6, 2010 9:43:55 PM

Originally posted by Charles Schloss:

f4fbb81cce0f0d7d04b79279186435d7


is incremented to

Originally posted by Charles Schloss:

f4fbb81cce0f0d7d04b79279186435d8


so, not much to do about it.
Thanks for the debug smile

Artur „Jurgi” JurgawkaJurgi Monday, February 22, 2010 11:41:47 PM

It overlaps with my new addition: Enhanced image sizer. I tried to modify script to show prev/next on the right side, but it didn't worked.
There are also some features in conflict… The best solution would be to merge them, currently I have to choose one of them… sad

Charles SchlossChas4 Tuesday, February 23, 2010 1:36:54 AM

The text from the gallery crawler shows up on printouts

skualninja Wednesday, March 17, 2010 5:19:42 PM

Very usefull man, thanks for it bigsmile

gmpri Wednesday, October 6, 2010 3:54:46 PM

The function parseInt () can be used with a second argument. It can specify the base of the system in which the string should be interpreted as a number. The advantage is a more reliable conversion. My amendment therefore in line 98:
var num = parseInt (snum, 10), instead of parseInt (snum)

João EirasxErath Wednesday, October 6, 2010 7:58:25 PM

Originally posted by gmpri:

var num = parseInt (snum, 10), instead of parseInt (snum)


10 is implied, so that code is equivalent.

Write a comment

New comments have been disabled for this post.