When comparing fancyBox 2 vs Pretty Photo, the Slant community recommends fancyBox 2 for most people. In the question“What are the best browser image gallery libraries?” fancyBox 2 is ranked 4th while Pretty Photo is ranked 9th. The most important reason people chose fancyBox 2 is:
Fancybox accepts many media types including: * Ajax * Iframe * Inline HTML * SWF
Ranked in these QuestionsQuestion Ranking
Pros
Pro Accepts multiple media types
Fancybox accepts many media types including:
- Ajax
- Iframe
- Inline HTML
- SWF
Pro Can be instantiated in multiple ways
You can create a new fancy box in many ways, making it flexible to how your site is built.
You can provide it with a jQuery object, a href and title object, a string, or an array of objects or strings.
Pro Responsive
Responsiveness helps it work well for small screens and phones.
However, the responsiveness is implemented using javascript resize events instead of being a CSS only solution.
Cons
Con Has a jQuery dependency
Con Deprecated
fancyBox has a new version, and the version 2 is no longer supported.