Click This Image
To see lightbox in action
Megakraft Brick WordPress theme uses prettyPhoto to display images (with links to a media file) in a jQuery lightbox. What is a lightbox? Lightbox displays images by filling the screen, and dimming out the rest of the web page. Web page by default opens your image links in a new window and by doing that each time user clicks on a image the web page changes and browser opens an empty page with just a image on it. Using lightbox is more user friendly and better way to present images on a website. Lightboxes are also called Fancyboxes and Thickboxes which are technical coding variations with slightly different effects.
prettyPhoto is a jQuery lightbox clone. Not only does it support images, it also support for videos, flash, YouTube, iframes and ajax. It’s a full blown media lightbox. It is very easy to setup, yet very flexible if you want to customize it a bit. Plus the script is compatible in every major browser, even IE6. It also comes with useful APIs so prettyPhoto can be launched from nearly anywhere (yes, that includes Flash)!
In our theme even a WordPress gallery is enhanced with prettyPhoto so you can browse all images in a gallery through lightbox overlay. Simply click on a image and overlay will open, place cursor over left or right side of the image in a lightbox and click on navigation arrow to go to the previous or next image in a gallery. Click on any image and use arrow navigation or left/right arrows on your keyboard to navigate through gallery.
One more useful feature is that you can use lightbox even in a Banner Widget, another theme built-in feature. Instead of adding a link address in a widget add image url that you wish to display when clicking the banner.