Mobile app version of vmapp.org
Login or Join
Ann8826881

: Is there a Lightbox style plugin that fits images to screen size? I'm looking for a Lightbox type js plugin that would take into account the browser window size and resize the currently displayed

@Ann8826881

Posted in: #Javascript #Jquery #LookingForAScript #ResponsiveWebdesign

I'm looking for a Lightbox type js plugin that would take into account the browser window size and resize the currently displayed photo so it fits - like the jquery-imagefit plugin does.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann8826881

2 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

There is a WordPress plugin that handles this named FooBox. It can be found at getfoobox.com

10% popularity Vote Up Vote Down


 

@Kevin317

This is a fairly standard feature, at least among the well-known options. (To the point that they generally don't bother making too much mention of it.) It doesn't seem like it'd be hard to find one unless you're looking for something more. Anyway:


Shadowbox, with the handleOversize argument
fancyBox, with the fitToView argument
Colorbox takes a different approach with its scalePhotos argument.


(BTW: The demos for the scripts above don't load huge images into the overlays, so to see the effect, reduce your browser window to 800x600 or something.)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme