Shortcodes: Lightbox
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://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_4.jpg" thumb="" type="link" gallery="" style="" class=""]Open image with prettyPhoto[/prettyPhoto]
Button PrettyPhoto
[prettyPhoto title="Image Title" link="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_3.jpg" thumb="" type="button" gallery="" style="" class="btn-orange"]Open image with prettyPhoto[/prettyPhoto]
PrettyPhoto for elements:
[prettyPhoto title="Image title" link="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/desert_5.jpg" thumb="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/desert_5.jpg" type="image" gallery="" style="" class=""]Open image with prettyPhoto[/prettyPhoto]
Image Gallery with PrettyPhoto
[prettyPhoto title="Image Gallery prettyPhoto, image 1" link="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_1.jpg" thumb="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_1.jpg" type="image" gallery="1" style="" class="pretty_gallery"][/prettyPhoto] [prettyPhoto title="Image Gallery prettyPhoto, image 2" link="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_2.jpg" thumb="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_2.jpg" type="image" gallery="1" style="" class="pretty_gallery"][/prettyPhoto] [prettyPhoto title="Image Gallery prettyPhoto, image 3" link="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_3.jpg" thumb="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_3.jpg" type="image" gallery="1" style="" class="pretty_gallery"][/prettyPhoto] [prettyPhoto title="Image Gallery prettyPhoto, image 4" link="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_4.jpg" thumb="http://docksidefab.wpengine.com/wp-content/uploads/2014/04/gallery_4.jpg" type="image" gallery="1" style="" class="pretty_gallery"][/prettyPhoto]
YouTube and Vimeo video in Lightbox
[prettyPhoto title="ThemeFuse" link="https://www.youtube.com/watch?v=5yB1XPzFzjk" thumb="" type="youtube" gallery="" style="" class=""][/prettyPhoto] [prettyPhoto title="Vimeo ThemeFuse" link="http://vimeo.com/16919307" thumb="" type="vimeo" gallery="" style="" class=""][/prettyPhoto]
prettyPhoto open in iframe
[prettyPhoto title="CNN in iframe" link="http://www.cnn.com/?iframe=true&width=990&height=600" thumb="" type="site" gallery="" style="" class="btn-black"]Open CNN website in iframe[/prettyPhoto]