• Hi,

    I’ve installed the plugin but seems that doesn’t work on 2.9 wordpress version. The plugin has been installed correctly and the setup page works well..

    Thank you for any help or suggestion.

    Dimitri

    ziguline.it

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same problem here, the “raw” version of this script works fine.

    I have no problem, works “out of the box” for me!

    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!

    Sorry ! Forgot! My WP version is 2.9.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wp-prettyphoto doesn’t work with WP 2.9’ is closed to new replies.