10 jQuery Lightbox Clone Plugins
Lightbox, and all of it’s various clones, can work magic on your jQuery web design. But where do you even start? There is so much out there and, frankly, most of it is crap. Well, don’t fret. Webrulon has done the searching for you. We’ve scoured, scrubbed and rinsed(?) the Internet to find ten of the most promising Lightbox plugins and Lightbox clone plugins available for jQuery. Without further adieu, here they are:
1. jQuery FancyZoom

Orderlist developed this powerful and versatile jQuery-powered Lightbox clone. More details can be read here.
The code below initializes the plugin:
- $(‘a.zoom’).fancyZoom({scaleImg: true, closeOnClick: true});
- });
Sample HTML code:
- <a class=“zoom” href=“insicdesigns.com”><img src=“path/to/image/sample.gif”></a>
2. FaceBox
- <script src=“jquery.js” type=“text/javascript”></script>
- <link href=“/facebox/facebox.css” media=“screen” rel=“stylesheet” type=“text/css”/>
- <script src=“/facebox/facebox.js” type=“text/javascript”></script>
- jQuery(document).ready(function($) {
- $(‘a[rel*=facebox]‘).facebox()
- })
- //for images
- <a href=“stairs.jpg” rel=“facebox”>text</a>
- //for DIV
- <a href=“#info” rel=“facebox”>text</a>
- //for Ajaxes
- <a href=“remote.html” rel=“facebox”>text</a>
3. FancyBox
This is an absolutely fantastic Lightbox clone. It has a bevy of features, including a host of nice effects, smooth animation and easy integration to you HTML code. Here are some more features:
- Automatically scales large images to fit in window
- Adds a nice drop shadow under the zoomed item
- Groups related items and adds navigation through them (uses preloading)
- Can display images, inline and iframed content
- Customizable through settings and CSS
For more details about FB. Visit here.
Sample Code:
- $(document).ready(function() {
- $(“p#test1 a”).fancybox();
- $(“p#test2 a”).fancybox({ ‘hideOnContentClick’: true });
- $(“p#test3 a”).fancybox({
- ‘zoomSpeedIn’: 0,
- ‘zoomSpeedOut’: 0,
- ‘overlayShow’: true
- });
- });
4. Pirobox
Here is a simple and fully-featured Lightbox clone. Just download and use the dependencies.
- <link href=“css_pirobox/pirobox.css” media=“screen” rel=“stylesheet” type=“text/css” />
- <script type=“text/javascript” src=“js/jquery1.2.6.js”></script>
- <script type=“text/javascript” src=“js/pirobox_packed.js”></script>
- <script type=“text/javascript”>
- $(document).ready(function(){
- $(‘.thumbs’).piroBox({
- <!– settings.options –>
- border: ‘10′,
- borderColor: ‘#fff’,
- mySpeed: 700,
- bg_alpha: 0.5,
- cap_op_start : 0.5,
- cap_op_end: 0.8,
- pathLoader: ‘#000 url(css/ajax-loader.gif) center center no-repeat;’,
- gallery : ‘.gallery li a’,
- gallery_li: ‘.gallery li’,
- single : ‘.single a’,
- next_class: ‘.next_in ’,
- previous_class: ‘.previous_in ’
- });
- });
- </script>
5. ThickBox
ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. It shows a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal. The widget’s function include:
- ThickBox was built using the super lightweight jQuery library. Compressed, the jQuery library is 20k, uncompressed it’s 58k.
- The ThickBox JavaScript code and CSS file only add an additional 15k (only 10k by using the thickbox-compressed.js) on top of the jQuery code. The CSS file could additionally be compressed if need be.
- ThickBox will resize images that are bigger than the browser window.
- ThickBox offers versatility (images, iframed content, inline content, and AJAX content).
- ThickBox will hide form elements in Windows IE 6.
- ThickBox will remain centered in the window even when the user scrolls the page or changes the size of the browser window. Clicking an image, the overlay, or close link will remove ThickBox.
- Due to the ThickBox creator’s view that transitions should be tailored by individual authors, ThickBox windows do not implement fancy transitions. Feel free to add them as you see fit. Is this a feature? Well, some might say it is.
- ThickBox can be invoked from a link element, input element (typically a button), and the area element (image maps).
6. prettyPhoto
prettyPhoto - A jQuery lightbox clone develop by Stéphane Caron. It’s easy and simple to use, which is always a plus. Just download and include file dependency.
- <script src=“js/jquery.js” type=“text/javascript” charset=“utf-8″></script>
- <link rel=“stylesheet” href=“css/prettyPhoto.css” type=“text/css” media=“screen” title=“prettyPhoto main stylesheet” charset=“utf-8″ />
- <script src=“js/jquery.prettyPhoto.js” type=“text/javascript” charset=“utf-8″></script>
- <script type=“text/javascript” charset=“utf-8″>
- $(document).ready(function(){
- $(“a[rel^='prettyPhoto']“).prettyPhoto();
- });
- </script>
- <a href=“images/fullscreen/1.jpg” rel=“prettyPhoto” title=“Description”>
- <img src=“/images1.jpg” alt=“Picture 1 title” />
- </a>
7. NyroModal
NyroModal is another full-featured Lightbox clone that is conveniently easy to use. Here are some of the features:
- Ajax Call
- Ajax Call with targeting content
- Ajax call can change the modal size
- Single Image
- Images Gallery with arrow navigating
- Form
- Form with targeting content
- Form with file upload
- Form with file upload with targeting content
- Dom Element
- Manual Call
- Iframe
- Error handling
- Modal will never goes outside the view port
- Esc key to close the window
- Customizable animation
- Customizable look
- W3C valid HTML (Transitionnal)
8. Interface Imagebox
Interface Imagebox is a cool little app. It’s an interface plugin for jQuery.
Initialize the Imagebox function and then:
- $(document).ready(
- function()
- {
- $.ImageBox.init(
- {
- loaderSRC: ‘images/imagebox/loading.gif’,
- closeHTML: ‘<img src=”images/imagebox/close.jpg”>’
- }
- );
- }
- );
- <a href=“images/imagebox/large-image.jpg” title=“Sample” rel=“imagebox-bw”><img src=“images/imagebox/thumnails.jpg” /></a>
9. jQuery lightBox plugin
This jQuery lightBox plugin is elegantly construction. Simply put, it works like a charm. It’s used to overlay images on the current page through the power and flexibility of jQuery´s selector. It was inspired in Lightbox JS by Lokesh Dhakar.
Wanna use it? Download and Include all the JavaScript and CSS dependencies. Then:
- //the JS
- <script type=“text/javascript” src=“js/jquery.js”></script>
- <script type=“text/javascript” src=“js/jquery.lightbox-0.4.js”></script>
- //the CSS
- <link rel=“stylesheet” type=“text/css” href=“css/jquery.lightbox-0.4.css” media=“screen” />
- <script type=“text/javascript”>
- $(function() {
- // Use this example, or…
- $(‘a[@rel*=lightbox]‘).lightBox(); // Select all links that contains lightbox in the attribute rel
- // This, or…
- $(‘#gallery a’).lightBox(); // Select all links in object with gallery ID
- // This, or…
- $(‘a.lightbox’).lightBox(); // Select all links with lightbox class
- // This, or…
- $(‘a’).lightBox(); // Select all links in the page
- // … The possibility are many. Use your creative or choose one in the examples above
- });
- </script>
10. Greybox Redux
This is an extremely light weight plugin, weighing in at only 1.2 kb. It doesn’t even necessitate enabling of Javascript into your site. Totally unobtrusive.
Here’s how to initialize the plugin:
- <script type=“text/javascript”>
- var GB_ANIMATION = true;
- $(document).ready(function(){
- $(“a.greybox”).click(function(){
- var t = this.title || this.innerHTML || this.href;
- GB_show(t,this.href,470,600);
- return false;
- });
- });
- </script>
- <h3>See it in action:</h3>
- <ul>
- <li><a href=“http://google.com/” title=“Google” class=“greybox”>Launch Google</a></li>
- <li><a href=“http://yahoo.com/” title=“Yahoo” class=“greybox”>Visit Yahoo</a></li>
- <li><a href=“http://msn.com/” class=“greybox”>Microsoft would like a visit.</a></li>
- <li><a href=“http://jquery.com/” class=“greybox”>jQuery Rocks!</a></li>
- </ul>
Related Posts
- 50 Totally Free CSS/XHTML Templates For 2010
- 50 Amazing jQuery Examples
- 15 Great jQuery Sliders
- 25 Powerful and Useful jQuery Tutorials for Developers and Designers
- 10 WordPress Free Gallery Themes

















Thanks for the list – I went through them all and found Pirobox to be the best for me