Shortcodes: Lightbox

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://i-act.me/wp-content/uploads/2014/07/1.jpg” type=”link” gallery=”” style=”” class=””]Open image with prettyPhoto[/prettyPhoto]

[code][prettyPhoto title=”Title of Image” link=”http://i-act.me/wp-content/uploads/2014/07/1.jpg” type=”link” gallery=”” style=”” class=””]Open image with prettyPhoto[/prettyPhoto][/code]

Button prettyPhoto

[prettyPhoto title=”Title of Image” link=”http://i-act.me/wp-content/uploads/2014/07/1.jpg” type=”button” gallery=”” style=”” class=”btn-prettyphoto”]Open image with prettyPhoto[/prettyPhoto]

[code][prettyPhoto title=”Title of Image” link=”http://i-act.me/wp-content/uploads/2014/07/1.jpg” type=”button” gallery=”” style=”” class=”btn-prettyphoto”]Open image with prettyPhoto[/prettyPhoto][/code]

prettyPhoto for elements:

[prettyPhoto title=”Title Image” link=”http://i-act.me/wp-content/uploads/2014/07/avatar-1.jpg” type=”link” ][/prettyPhoto]

[code][prettyPhoto title=”Title Image” link=”http://i-act.me/wp-content/uploads/2014/07/avatar-1.jpg” type=”link” ][/prettyPhoto][/code]

Image Gallery with prettyPhoto

[prettyPhoto title=”Image Gallery prettyPhoto, image 1″ link=”http://i-act.me/wp-content/uploads/2014/07/11.jpg” type=”link” gallery=”gal_1″][/prettyPhoto] [prettyPhoto title=”Image Gallery prettyPhoto, image 2″ link=”http://i-act.me/wp-content/uploads/2014/07/2.jpg” type=”link” gallery=”gal_1″][/prettyPhoto] [prettyPhoto title=”Image Gallery prettyPhoto, image 3″ link=”http://i-act.me/wp-content/uploads/2014/07/31.jpg” type=”link” gallery=”gal_1″][/prettyPhoto] [prettyPhoto title=”Image Gallery prettyPhoto, image 3″ link=”http://i-act.me/wp-content/uploads/2014/07/41.jpg” type=”link” gallery=”gal_1″][/prettyPhoto]

[code][prettyPhoto title=”Image Gallery prettyPhoto, image 3″ link=”http://i-act.me/wp-content/uploads/2014/07/41.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=””]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=””]Open CNN website in iframe[/prettyPhoto]

[/code]