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

studivzZoomPics

Displays a larger version of any photo on studivz.net just by moving the mouse over it

This script follows a different approach than the "StudiVZ: Mitgliederfotos zoomen" one.

It loads the large version of all images right after opening the page, instead of waiting for you to move over an image first. So when you move your mouse over a small image, the large one pops up immediately, without any delay.

Also the large image is positioned inside a small red-white frame to fit right into the studivz design.
And when you move the mouse, the large image moves along with it.
It always shows up on the side, where the most space is left to display it...

This works for virtually any image on studivz, which has a larger version on the server as well.
I.e. profile photo, album preview photo, image preview photo...

Have fun with this

EDIT: new feature:
Since my new screen has a much higher resolution, I felt that even the large images are quite small. So I added code to actually resize the image to use all the space left or right of the mouse cursor. Since this obviously results in a loss of picture quality, I made it easily adjustable. You can set the variable 'maxZoomFactor' to the value 1.0 to switch off the additional resizing or to something like 2.0 to get larger images.

EDIT: new feature: SlideShow mode
Inspired by some other userscripts, I decided to put in a SlideShow mode to view all photos from the current page in fullscreen.
To enter the SlideShow mode, just click the 'SlideShow' link that appears at the bottom of the menu on the left hand side.
The keys are:
next: right/down arrow, space or click the image
prev: left/up arrow, backspace, 'b'
exit: ESC or click the background

EDIT: fixed issue with the new menu layout

EDIT: made the image popup design independent

EDIT: added popup delay feature:
You can edit the value of the variable 'popupDelayTime' at the top of the script to add a small delay before the large image pops up. The value is in milliseconds, so sensible values would be between 0 and 1000.

EDIT: added "onclick" event for the photos in the normal album view, so that the image links to the next image

Feedback is always welcome!




May 12, 2008
me286 User

nevermind, cleared the cache and working fine now... just the option dialog seems lost! :D

 
May 12, 2008
me286 User

wo finde ich die menüeinstellungen? für verzögerung und so?
und ist es richtig, dass es keine unterstützung für die sidebar gibt?

where can i find options for delay and stuff?
ist there support for svz sidebar? it doesn't increase picture size on mouse over!

 
May 12, 2008
AFFEMANn User

ist es möglich die bilderlinks der firefox erweiterung ""piclens tauglich zu machen? nichts gegen deine slideshow. aber die slideshow von piclens ist echt hammer.

 
May 12, 2008
Dorian Scholz Script's author

small update fixing (again) the missing slideshow link in the left menu.
also added the requested feature, that clicking the album images should bring you to the next image.

 
Apr 16, 2008
ladiko User

*thumbs up*

 
Feb 22, 2008
theviper User

Hey, great script, but i would like to see one more function:
That you can switch to the next picture in the gallery only by one click on the pic instead of clicking the small link "next".

This feature would be so nice!

Best regards

 
Feb 16, 2008
Dorian Scholz Script's author

yeah! new delay feature is here! for everyone who gets all dizzy when the big images are popping up too fast ;-)
thx for the feedback!

 
Feb 16, 2008
Dorian Scholz Script's author

@lazka: danke für den tip, hab dem largeImgObj jetzt die Klasse 'm' gegeben und die bildr haben somit den dünnen grauen rahmen wie alle anderen. find ich zwar nicht so schick, ist aber unabhängig vom design...

 
Feb 15, 2008
lazka Scriptwright

@Dorian: mach doch largeDivObj.className = "divPopup m";

und hau das ganze borderzeugs aus addGlobalStyle raus. dann passt es sich automatisch an.

 
Feb 14, 2008
elk Scriptwright

@Affenmann: Das isnd nur 2 Einstellungen im Skript:
1.) Zeile 104, hinten die Farbe beim border
2.) Zeile 224, hinten die background-color

Für MyStudiVZ ist wäre das z.B. die Frabe #68b

 
Feb 14, 2008
AFFEMANn User

ein workaround für die verschiedenen studivz templates wäre nett. also der rahmen soll sich dem aktuellen design anpassen.

 
Feb 14, 2008
evensteven User

I also would like to see a possibility for setting a delay. It's very annoying that every picture enlarges just by a touch. Maybe you can set the delay to 0 by default. Except that, a very nice script!

 
Jan 10, 2008
ladiko User

also works for schuelervz, you only have to add
http://*.schuelervz.net/*
to the applied sites.

 
Nov 15, 2007
AKSDR User

rezise feature is quit well.
But i wanna have a slower response time, because i dont wanna see every picture larger, just by touching the Photo.

Maybee its possible, i would prefere it.

Thx a lot

 
Nov 15, 2007
AFFEMANn User

top

 
Nov 15, 2007
Dorian Scholz Script's author

added a slideshow mode to browse photos in fullscreen.

 
Oct 25, 2007
Malte Grimm User

works fast and perfectly!!

ei guude dori, funzt perfekt.

 
Oct 25, 2007
Dorian Scholz Script's author

Check out the new image resizing feature!
I think it works out quite well and you get even larger images...

 
Oct 15, 2007
Markus Mayer Scriptwright

Full ACK.

 
Oct 5, 2007
voks Scriptwright

works perfectly! Thanks!

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