fancybox
jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
Fancybox is an archived jQuery plugin that displays images and videos in a pop-up overlay when clicked, with touch support and gallery browsing, this repository is no longer maintained.
Fancybox is a jQuery plugin for displaying images, videos, and other content in an overlay that appears on top of the current page. When a visitor clicks a thumbnail or link, the full-size image or video opens in a lightbox without navigating away from the page. It supports touch gestures for mobile users, adjusts to different screen sizes, and can be configured to group multiple items into a gallery that the user can browse through.
This particular repository has been archived and is no longer actively maintained. The project has moved to a different repository under the same GitHub organization. The README here is minimal, covering only the basic three-step setup: add jQuery and the Fancybox script and stylesheet to your page, mark your links with a data-fancybox attribute, and the overlay behavior activates automatically on click.
The license is GPLv3 for open source use. Commercial projects, including websites, themes, or applications intended for sale, require a separate commercial license from the project's official site.
Where it fits
- Add a click-to-enlarge image overlay to an existing jQuery-powered website with three lines of setup code.
- Display a YouTube or Vimeo video in a pop-up lightbox so visitors watch it without navigating away from the page.