Well! This is pretty lightbox clone!
I’m use this in WP Without plugin!
How? – its very simple! Download PrettyPhoto from here
Unzip archive and place folder “prettyPhoto” into you theme folder.
Add no header.php code:
<link href="<?php bloginfo('stylesheet_directory'); ?>/prettyPhoto/css/prettyPhoto.css" title="prettyPhoto main stylesheet" type="text/css" rel="stylesheet" charset="utf-8" media="screen" />
<script src="<?php bloginfo('stylesheet_directory'); ?>/prettyPhoto/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
and add in footer.php before “</body>” this script:
<script type="text/javascript" charset="utf-8">
jQuery(document).ready(function(){
jQuery("a.outside").each(function()
{
var rand_no = Math.random()* 100;
jQuery(this).attr({"rel": "prettyPhoto["+rand_no+"]"} );
var path=jQuery(this).attr("href")+"?ie=UTF-8&oe=UTF-8&iframe=true&width=97%&height=97%";
jQuery(this).attr({"href": path});
});
jQuery("a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook',iframe: true,default_width: "100%",default_height: "100%"});
});
</script>
Now for open outside links add class=”outside” and in NextGenGallery settinst select custom effect and add “rel=”prettyPhoto””
All work fine!