brainstate

fancyapps/fancybox · source

Snapshot 0 · 2026-11-04T12:47:21Z · JavaScript ·

Content fingerprint973f7f992d39d5b010334c6f9e2ab5bab6287da1a569458bf33a75dd676b6414

GitHub description at capture

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

README at capture

# Archived

This repository has been archived and is now part of https://github.com/fancyapps/ui

# Fancybox

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

## Quick start

1\. Add latest jQuery and Fancybox files

```html
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>

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

2\. Create links

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

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

3\. Enjoy!

## License

Fancybox is licensed under the [GPLv3](http://choosealicense.com/licenses/gpl-3.0) 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](http://fancyapps.com/).