The definitive source of the best
JavaScript libraries, frameworks, and plugins.

  • ×

    FancyBox is a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages.
    Filed under  › 

    • 🔾74%Overall
    • 7,279
    • 25.9 days
    • 🕩1745
    • 👥9


    This repository has been archived and is now part of


    jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.

    Quick start

    1. Add latest jQuery and Fancybox files

    <script src=""></script>
    <link href="/path/to/jquery.fancybox.min.css" rel="stylesheet" />
    <script src="/path/to/jquery.fancybox.min.js"></script>

    2. Create links

    <a data-fancybox="gallery" href="big_1.jpg">
      <img src="small_1.jpg" />
    <a data-fancybox="gallery" href="big_2.jpg">
      <img src="small_2.jpg" />

    3. Enjoy!


    Fancybox is licensed under the GPLv3 license for all open source applications. A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell).

    Read more about Fancybox license.

    Show All