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://www.day1legend.com/wp-content/uploads/2014/03/img_big_1.jpg” type=”link” gallery=”” style=”” class=””]Open image with prettyPhoto[/prettyPhoto]

[code][prettyPhoto title=”Title of Image” link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_big_1.jpg” type=”link” gallery=”” style=”” class=””]Open image with prettyPhoto[/prettyPhoto][/code]

Button prettyPhoto

[prettyPhoto title=”Title of Image” link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_big_2.jpg” type=”button” gallery=”” style=”” class=”btn-primary”]Open image with prettyPhoto[/prettyPhoto]

[code][prettyPhoto title=”Title of Image” link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_big_2.jpg” type=”button” gallery=”” style=”” class=”btn-primary”]Open image with prettyPhoto[/prettyPhoto][/code]

prettyPhoto for elements:

[prettyPhoto title=”Title Image” link=”http://www.day1legend.com/wp-content/uploads/2014/03/gavatar_1.jpg” type=”link” ][/prettyPhoto]

[code][prettyPhoto title=”Title Image” link=”http://www.day1legend.com/wp-content/uploads/2014/03/gavatar_1.jpg” type=”link” ][/prettyPhoto][/code]

Image Gallery with prettyPhoto

[prettyPhoto title=”Image Gallery prettyPhoto, image 1″ link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_mid_1.jpg” type=”link” gallery=”gal_1″][/prettyPhoto] [prettyPhoto title=”Image Gallery prettyPhoto, image 2″ link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_mid_2.jpg” type=”link” gallery=”gal_1″][/prettyPhoto] [prettyPhoto title=”Image Gallery prettyPhoto, image 3″ link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_mid_3.jpg” type=”link” gallery=”gal_1″][/prettyPhoto] [prettyPhoto title=”Image Gallery prettyPhoto, image 3″ link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_mid_4.jpg” type=”link” gallery=”gal_1″][/prettyPhoto]

[code][prettyPhoto title=”Image Gallery prettyPhoto, image 1″ link=”http://www.day1legend.com/wp-content/uploads/2014/03/img_mid_4.jpg” type=”link” gallery=”gal_1″][/prettyPhoto][/code]

YouTube and Vimeo video in Lightbox

[prettyPhoto title=”youtube” link=”http://www.youtube.com/watch?v=5yB1XPzFzjk” type=”link” ]YouTube Video[/prettyPhoto]  [prettyPhoto title=”vimeo” link=”http://vimeo.com/16919307″ type=”link” gallery=”” style=”” class=””]Vimeo Video[/prettyPhoto]

[code][prettyPhoto title=”youtube” link=”http://www.youtube.com/watch?v=5yB1XPzFzjk” type=”link” ]YouTube Video[/prettyPhoto]
[prettyPhoto title=”vimeo” link=”http://vimeo.com/16919307″ type=”link” ]Vimeo Video[/prettyPhoto][/code]

prettyPhoto open in iframe

[prettyPhoto title=”CNN in iframe” link=”http://www.cnn.com/?iframe=true&width=990&height=600″ type=”button” class=”btn-info”]Open CNN website in iframe[/prettyPhoto]

[code][prettyPhoto title=”CNN in iframe” link=”http://www.cnn.com/?iframe=true&width=990&height=600″ type=”button” class=”btn-info”]Open CNN website in iframe[/prettyPhoto]

[/code]