Okay here's what I've been playing around with, RS-Linkify Version 3.0.7.2 is needed.
This is my attempt at a lightbox. Keep in mind it's not finished, but I need test it and run it before I do any more on it. There are limitations and it will only work with standard embedding. I will eventually tie it into everything when I feel it's finished.
- Clicking an image will pop out the pic and resize it as best I can to your browser window.
- A single click anywhere will close it.
- Scrollwheel will zoom in and out at the cursor position.
- Clicking and dragging (only when zoomed in) will pan the image.
- Middle click opens image in new tab (works for images in and out of lightbox).
Remember update RS Linkify to Version 3.0.7.2 to see the lightbox.
Here's a test image complements of Rowley
http://i.imgur.com/b70KNga.jpg
Feel free post some test images and try it out. I have already found very tall narrow images don't work too well. But that's just how it is when fitting an image to screen and keeping aspect ratio. Fortunately right clicking and opening in a new tab is always an option.
Updates....
- Transitions have been sped up, they now take .5 seconds
- Click anywhere to close
- Middle click to open image in new tab
Thanks to Morgan, Blasty and Blazey80 for the feedback and help
03-Jul-2014 04:14:52
- Last edited on
03-Jul-2014 04:15:20
by
Indecent Act