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
EDIT: fixed bug which broke the "link people to photos thing", because of the "onclick" event...
Feedback is always welcome!
|
|
Nice Script! BUT: I miss the option to disable the preloadfuncion of the pics.
|
|
|
nevermind, cleared the cache and working fine now... just the option dialog seems lost! :D |
|
|
wo finde ich die menüeinstellungen? für verzögerung und so?
where can i find options for delay and stuff?
|
|
|
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. |
|
|
small update fixing (again) the missing slideshow link in the left menu.
|
|
|
*thumbs up* |
|
|
Hey, great script, but i would like to see one more function:
This feature would be so nice! Best regards |
|
|
yeah! new delay feature is here! for everyone who gets all dizzy when the big images are popping up too fast ;-)
|
|
|
@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... |
|
|
@Dorian: mach doch largeDivObj.className = "divPopup m"; und hau das ganze borderzeugs aus addGlobalStyle raus. dann passt es sich automatisch an. |
|
|
@Affenmann: Das isnd nur 2 Einstellungen im Skript:
Für MyStudiVZ ist wäre das z.B. die Frabe #68b |
|
|
ein workaround für die verschiedenen studivz templates wäre nett. also der rahmen soll sich dem aktuellen design anpassen. |
|
|
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! |
|
|
also works for schuelervz, you only have to add
|
|
|
rezise feature is quit well.
Maybee its possible, i would prefere it. Thx a lot |
|
|
top |
|
|
added a slideshow mode to browse photos in fullscreen. |
|
|
works fast and perfectly!! ei guude dori, funzt perfekt. |
|
|
Check out the new image resizing feature!
|
|
|
Full ACK. |
|
|
works perfectly! Thanks! |
You could comment on this script if you were logged in.
