scaron / prettyphoto

prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrames. It’s a full blown media lightbox. The setup is easy and quick, plus the script is compatible in every major browser.
http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/
553 stars 281 forks source link

new setting: "allow_expand" #81

Closed sbrauer closed 12 years ago

sbrauer commented 12 years ago

I added this setting as an option to simplify the user interface. Some users confuse the expand control with a close button, then can't easily figure out how to un-expand the image and close.

The new setting is a boolean that defaults to true. It is only relevant when a large image is resized. If true, the expand control is displayed just as before. If false, the expand control is not displayed; the user sees the scaled image but cannot zoom in to the original size.