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

Gallery Viewer for Broadband

Loads full-size pic instead of reduced one in image/discussion page in some galleries.

Applies to: Galleries where clicking a thumbnail opens a page with a reduced pic you can click to view the full-size version in a popup.

Effect: Loads the full-size picture in place of the reduced one.

(Also means you can save the pic without disabling JS on galleries that close the popup when you right-click the pic.)

Known bugs and limitations:

-ONLY works on galleries that designate the reduced pic by prepending "normal_" to the filename. (Seems to be a very common setup.)

-On galleries that put height/width params on their IMG tag for the reduced pic: The script still loads the full-size one, but your browser resizes it. Right-clicking and saving the pic will still give you the full-size one.

-Very large pictures will cause "margin rape," making you scroll back and forth to read any text on the page. (Use the "Zoom Image" script to add zoom buttons.)

(I'm a bit of a JS n00b. If you know of a way to remove height/width properties from a IMG without setting them to 0, please tell me.)

Email: me [AT] joemck.cjb.net






Aug 4, 2006
yoshi314 Scriptwright

nice job. i modified it for an other site.

 
Apr 6, 2006
Johan Sundström Scriptwright

img.removeAttribute('height'); (ditto 'width') is your friend.

 
Feb 28, 2006
Dan Atkinson Scriptwright

Excellent! It works fine for me!

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