# fancyBox

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

See the [project page](http://fancyapps.com/fancybox/) for documentation and a demonstration.

Follow [@thefancyapps](//twitter.com/thefancyapps) for updates.


## Quick start

1\.  Add latest jQuery and fancyBox files

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

<link  href="/path/to/fancybox.css" rel="stylesheet">
<script src="/path/to/fancybox.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 has two kinds of licenses: open-source and commercial.



### Open source license

The open source license is designed for you to use fancyBox to build open source and personal projects or in educational scenarios that are free for students to view or attend. fancyBox open source license is [GPLv3](http://choosealicense.com/licenses/gpl-3.0).


### Commercial license

If you want to use fancyBox to develop commercial sites, themes, projects, and applications without the provisions of the GPLv3, the commercial license is the appropriate license.

[Read more about fancyBox license](http://fancyapps.com/fancybox/#license).

## Bug tracker

If you find a bug, please report it [here on Github](https://github.com/fancyapps/fancyBox/issues)!
