Resources

Download

Copyright

prettyPhoto is totally free to use, it is released the GPLv2 (http://www.gnu.org/licenses/gpl-2.0.html) or Creative Commons 2.5 license (http://creativecommons.org/licenses/by/2.5/). Feel free to use the one that suits your needs. You can use it in all you projects even commercial ones as long as you leave the credits at the top intact. Please note that if you plan to make money using prettyPhoto, donations are more than welcome.

Browser support

This plugin has been tested and is known to work in the following browsers

Facebook
inspired theme.

Dark rounded semi-transparent theme.

Dark square semi-transparent theme.

Light square theme.

Light rounded theme.

Version history

3.1.6:Fixed:XSS Fix

3.1.5:Fixed:Now works with jQuery 1.9Dropped: Support for IE6

3.1.4:Fixed: Bug with Facebook like under IE9Fixed: Bug with the shebang when liking on Facebook

3.1.3:Added: support for youtu.be linksFixed: Minor bug with the facebook like, the url wasn’t correct on the initFixed: Bug with social tools when it was turned offFixed: Social tools alignmentFixed: Font color in the default themeFixed: Hashtag is now cleared when prettyPhoto is closed

3.1.2:Fixed: hide_flash setting now works with the new iframe embed code for Vimeo and YouTubeFixed: It’s now possible to add ?rel=0 to YouTube url to disable related videos at the end of a YouTube video.

3.1.1:Added: Deeplinking support. You can now share prettyPhoto linksAdded: Social sharing tools.Fixed: IE7 overlay_gallery overlay bug.Fixed: Bug when opening percent based media then opening normal sized media, the second opened image wouldn’t be resized.

3.1:Added: Ajax support.Fixed: Long title would cause the box to jump up a bit.Fixed: Namespaced scroll event.Fixed: Browsing throught picture wouldn’t bring you back to the end when clicking previous while being on the first picture.Fixed: Resize bug.Fixed: Issue where the inline gallery would cause a preloading of the iframes.Optimized: Gallery injection script, now 30% faster.Changed: The YouTube embed code for the new iframe embed.Changed: Slideshow are now enabled by default.

3.0.3:Fixed: Double click on the close button causing a bug.Fixed: prettyPhoto API not being able to handle isSet properly.

3.0.2:Fixed: The overlay gallery is now only displayed on rollover to resolve issue where it always showed during slideshowFixed: Made the filetype check case insensitiveFixed: Percent based sizes to be independantFixed: Issue with trailing characters after the filenameFixed: An issue when opening big images in inline contentFixed: Make sure the content never scroll over the topFixed: Initial prettyPhoto positionFixed: Slideshow autoplay when closing – reopening prettyPhoto.Fixed: Scroll issue in IEFixed: Width issue in IEFixed: prettyPhoto default sizeFixed: image preloading and image injection codeFixed: Resize icon behaviorChanged: prettyPhoto now loops through the gallery instead disabling the next arrow on the last itemChanged: Namespaced events to play better with other plugins.Changed: Keyboard event to only preventDefault on actions used by prettyPhoto

3.0:Added: Keyboard event bindings as a setting.Added: Inline galleries.Added: custom_markup settings. Open anything you want! See this post for a tutorial.Added: Multiple prettyPhoto with different settings on one page.Added: Slideshows!Added: Custom markup supportChanged: Vimeo video now uses their new universal player. http://vimeo.com/blog:334Changed: Default theme, now facebook.Changed: Default speed, now fast, feel snappier.Fixed: Vimeo video ID parsing.Fixed: Double click causing a where prettyPhoto would open without the faded background.Fixed: Bug when an image would not resize after opening an iframe.Fixed: Image resizing issues when allow_resize is set to false. Images now center properly.Fixed: “Image cannot be loaded” message bug. Removed the toLowerCase, a bug I introduced…can’t really say why 🙁Fixed: API calls now fallback to the IE6 compatible theme

2.5.6:Fix a bug with the loader icon, fixed a bug where videos would still play when prettyPhoto was closed, fixed a bug when prettyPhoto is re-initialized after an AJAX reload.

2.5.5:Added wmode as a setting, added vimeo support, added autoplay as a setting, inline content support, new theme (facebook style), markup is now a setting.

2.5.4:Fix a bug with the bottom nav, fix the theme bug in IE6-7-8

2.5.3:New settings (hideflash,modal,changepicturecallback). Fixed a resizing issue and an issue where prettyPhoto would open if a user pressed keyboard keys.

2.5.2:Fixed a bug with the titles/descriptions in the gallery.

2.5.1:Fixed a bug when not titles/descriptions were provided to the API.

2.5:Rewrote the code, created APIs, cleaned the CSS a lot, fixed the keyboard navigation.