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.
prettyPhoto for Text
[prettyPhoto title="Title of Image" link="http://localhost/whb/wp-content/uploads/2012/08/entry_big_2.jpg" type="link" class="link-arrow"]Open image with prettyPhoto[/prettyPhoto]
Button prettyPhoto
[prettyPhoto title="" link="http://localhost/whb/wp-content/uploads/2012/08/entry_big_1.jpg" type="button" class="button_link"]Open image in prettyPhoto[/prettyPhoto]
prettyPhoto for elements:
[prettyPhoto title="Title Image" link="http://localhost/whb/wp-content/uploads/2012/08/entry_big_3.jpg" type="link" ][/prettyPhoto]
Image Gallery with prettyPhoto
[prettyPhoto title="Image Gallery prettyPhoto, image 1" link="http://localhost/whb/wp-content/uploads/2012/08/post_mid_1.jpg" type="link" gallery="gal_1"][/prettyPhoto] [prettyPhoto title="Image Gallery prettyPhoto, image 2" link="http://localhost/whb/wp-content/uploads/2012/08/post_3_1.jpg" type="link" gallery="gal_1"][/prettyPhoto] [prettyPhoto title="Image Gallery prettyPhoto, image 3" link="http://localhost/whb/wp-content/uploads/2012/08/post_mid_2.jpg" type="link" gallery="gal_1"][/prettyPhoto]
YouTube and Vimeo video in Lightbox
[prettyPhoto title="youtube" link="http://www.youtube.com/watch?v=5yB1XPzFzjk" type="link" ][/prettyPhoto] [prettyPhoto title="vimeo" link="http://vimeo.com/16919307" type="link" ][/prettyPhoto]
prettyPhoto open in iframe
[prettyPhoto title="CNN in iframe" link="http://www.cnn.com/?iframe=true&width=990&height=600" type="button" class="button_link btn_pink"]Open CNN website in iframe[/prettyPhoto]