Shortcodes: prettyPhoto 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

[lightbox color=”#9CCC0A” type=”image” title=”imaga litbox” prettyPhoto=”” link=”http://blackinventor.com/wp-content/uploads/2011/05/portfolio_big_img_2.jpg”]
Open image with prettyPhoto
[/lightbox]
[divider_thin]
[code][lightbox color=”#9CCC0A” type=”image” title=”imaga litbox” link=”http://blackinventor.com/wp-content/uploads/2011/05/portfolio_big_img_2.jpg”]
Open image with prettyPhoto
[/lightbox]
[/code]
[divider]

Button prettyPhoto

[lightbox_btn type=”image” title=”image” prettyPhoto=”” link=”http://blackinventor.com/wp-content/uploads/2011/05/portfolio_big_img_2.jpg”]Open image with prettyPhoto[/lightbox_btn]
[divider_thin]
[code][lightbox_btn type=”image” title=”image” link=”http://blackinventor.com/wp-content/uploads/2011/05/portfolio_big_img_2.jpg”]Open image with prettyPhoto[/lightbox_btn][/code]
[divider]

prettyPhoto for elements:

[raw]
[lightbox type=”iframe” title=”Title Image” prettyPhoto=”” link=”http://blackinventor.com/wp-content/uploads/2011/05/slider_image_24.png”]

[/lightbox]
[/raw]
[divider_thin]
[code]
[lightbox type=”iframe” title=”Title Image” link=”http://blackinventor.com/wp-content/uploads/2011/05/slider_image_24.png”]

[/lightbox]
[/code]
[divider]

Image Gallery with prettyPhoto

[raw]
[lightbox type=”image” title=”Image Title” prettyPhoto=”gal_1″ link=”http://blackinventor.com/wp-content/uploads/2011/05/slider_round_51.jpg”]

[/lightbox]
[lightbox type=”image” title=”Image Title” prettyPhoto=”gal_1″ link=”http://blackinventor.com/wp-content/uploads/2011/05/portfolio_big_img_21.jpg”]

[/lightbox]
[lightbox type=”image” title=”Image Title” prettyPhoto=”gal_1″ link=”http://blackinventor.com/wp-content/uploads/2011/05/slider_image_24.png”]

[/lightbox]
[/raw]
[divider]

[code ]
[lightbox type=”image” title=”Image Title” prettyPhoto=”gal_1″ link=”http://blackinventor.com/wp-content/uploads/2011/05/slider_round_51.jpg”]

[/lightbox]
[lightbox type=”image” title=”Image Title” prettyPhoto=”gal_1″ link=”http://blackinventor.com/wp-content/uploads/2011/05/portfolio_big_img_21.jpg”]

[/lightbox]
[lightbox type=”image” title=”Image Title” prettyPhoto=”gal_1″ link=”http://blackinventor.com/wp-content/uploads/2011/05/slider_image_24.png”]

[/lightbox]
[/code]

YouTube and Vimeo video

[raw]
[lightbox type=”youtube” title=”youtube” link=”http://www.youtube.com/watch?v=5yB1XPzFzjk”]
YouTube Vieo
[/lightbox]
[lightbox type=”vimeo” title=”vimeo” link=”http://vimeo.com/16919307″]
YouTube Vieo
[/lightbox]
[/raw]

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

prettyPhoto open in iframe

[raw]
[lightbox_btn color=”red” type=”iframe” title=”Google” link=”http://www.google.com?iframe=true&width=100%&height=100%”]
Google.com in iframe
[/lightbox_btn]
[lightbox_btn color=”blue” type=”iframe” title=”Yahoo” link=”http://www.yahoo.com?iframe=true&width=100%&height=100%”]
Yahoo in iframe
[/lightbox_btn]
[/raw]
[divider_thin]
[code]
[lightbox_btn color=”red” type=”iframe” title=”Google” link=”http://www.google.com?iframe=true&width=100%&height=100%”]
Google in iframe.
[/lightbox_btn]
[lightbox_btn color=”blue” type=”iframe” title=”Yahoo” link=”http://www.yahoo.com?iframe=true&width=100%&height=100%”]
Yahoo in iframe
[/lightbox_btn]
[/code]
[divider]