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

Open image with prettyPhoto

[prettyPhoto title="Title of Image" href="https://odg.luoa.com.cn/strat/csswhpglp/wp-content/themes/magazinish/images/temp/2.jpg"]
Open image in prettyPhoto
[/prettyPhoto]

Button prettyPhoto

Open image in prettyPhoto

[prettyPhoto title="Title of Image" href="https://odg.luoa.com.cn/strat/csswhpglp/wp-content/themes/magazinish/images/temp/3.jpg"]
[button link="#"]Open image in prettyPhoto[/button]
[/prettyPhoto]

prettyPhoto for elements:

[prettyPhoto title="Title of Image" href="https://odg.luoa.com.cn/strat/csswhpglp/wp-content/themes/magazinish/images/temp/4.jpg"]

[/prettyPhoto]

Image Gallery with prettyPhoto

   

[prettyPhoto_gallery id="gal_1"]
[prettyPhoto title="Title of Image 1" href="https://odg.luoa.com.cn/strat/csswhpglp/wp-content/themes/cafe-lounge/images/temp/2.jpg"][/prettyPhoto]
[prettyPhoto title="Title of Image 2" href="https://odg.luoa.com.cn/strat/csswhpglp/wp-content/themes/cafe-lounge/images/temp/2.jpg"][/prettyPhoto]
[prettyPhoto title="Title of Image 3" href="https://odg.luoa.com.cn/strat/csswhpglp/wp-content/themes/cafe-lounge/images/temp/2.jpg"][/prettyPhoto]
[/prettyPhoto_gallery]

YouTube and Vimeo video in Lightbox

YouTube Vieo   Vimeo Video

[prettyPhoto href="http://www.youtube.com/watch?v=1R0UHHkoGxU" title="YouTube Video"]
YouTube Vieo
[/prettyPhoto]
[prettyPhoto href="http://vimeo.com/20266292&width=600" title="Vimeo Video"]
Vimeo Video
[/prettyPhoto]

prettyPhoto open in iframe

Open CNN website in iframe

[prettyPhoto href="http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=prettyphoto&iframe=true&width=900&height=500" title="Google in Frame"]
[button link="#" style="btn_red"]Google.com in iframe[/button]
[/prettyPhoto]
[prettyPhoto href="http://www.cnn.com?iframe=true&width=600&height=300" title="Facebook in Frame"]
[button link="#" style="btn_blue"]CNN in iframe[/button]
[/prettyPhoto]