Royal PrettyPhoto

Posted: August 2, 2013 at 2:34 pm

Royal PrettyPhoto is a ismple cool plugin to add automatic lightbox in wordpress post/page using added images.

prettyphoto

Examples:
To add a Single Video

<a href="Full Video Link" rel="prettyPhoto"><img alt="" src="Full Thumbnial Path" /></a>

To add video with default image gallery

<a href="Full Video Link" rel="prettyPhoto[Your_Post_ID]" ><img src="Full Thumbnial Path" alt=""/></a>

If you post ID is 708 rel should rel=”prettyPhoto[708]”.
Aditional Gallery with Image, Youtube Video, Vimeo Video or DIV

<div id="complexgallery">
    <a href="Internal or External Full Image Link" rel="prettyPhoto[galleryname]"><img src="Full Thumbnial Path" alt=""/></a>
    <a href="Youtube Full Video Link" rel="prettyPhoto[galleryname]"><img src="Full Thumbnial Path" alt=""/></a>
    <a href="Vimeo Full Video Link" rel="prettyPhoto[galleryname]"><img src="Full Thumbnial Path" alt=""/></a>
    <a href="#DIV_ID_NAME" rel="prettyPhoto[galleryname]"><img src="Full Thumbnial Path" alt=""/></a>
    <a href="#DIV_ID_NAME" rel="prettyPhoto[galleryname]">Text for Link</a>
</div>

For DIV you should add a div like below.

<div id="DIV_ID_NAME" style="display:none">
<p>This is inline DEV content for prettyPhoto.</p>
<p>Your DIV full conent here.</p><p>Your DIV full conent here.</p><p>Your DIV full conent here.</p><p>Your DIV full conent here.</p></div>
</div>

Download from https://wordpress.org/plugins/rt-prettyphoto/