Saturday, January 23rd, 2010 | Author: pluc | Views: 1,976

There is a known bug in the latest version of WP-prettyPhoto that basically prevents it to work as intended. While you wait for an official fix, which will come soon, here is what you can do to make it work:

  1. First, identify the problem. Look at the source code of your page, within the prettyPhoto javascript stub, there is a value called “autoplay”. If that is not set to true or false, you have the bug.
  2. In your admin options, deactivate the plugin then reactivate it.
  3. Go in the WP-prettyPhoto options and change the value of “autoplay”, you can change it back later.
  4. Look at your source again, “autoplay” should be set and your pictures/videos should pop up nicely.

Thanks to Brad Keeling who reported the bug to me (as opposed to bitching on twelve different forums) and confirmed the fix.


Category: WP-prettyPhoto
You can leave a response, or trackback from your own site.

33 Comments

Pages: [1] 2 3 4 » Show All

  1. Still doesn’t work. I think I’ll go manually set it in the code. :(

  2. Hmmm… I manually changed it in the code and confirmed that it’s set properly on the page… and WP-prettyPhoto still doesn’t work.
    Well, thanks to both of you for your efforts. I wish I could get it to work.

  3. I’ve tried this as well and it’s not working. Hope to see the issue worked out soon.

  4. On a hunch, I went back, played some more with the solution and can confirm it works on 2.9.1.
    I found the trick to be:
    1. Install wp-prettyPhoto to WP’s plugin directory.
    2. Activate it in WP’s Dashbaord.
    3. Confirm a page/post with a link to an image is not launching wp-prettyPhoto.
    4. Go back to WP’s Dashboard, to wp-prettyPhoto’s settings and select the following box: “True to Autoplay, False not to”
    5. Go to the WP Dashboard Plugins area and deactivate wp-prettyPhoto.
    6. Now enable it.
    7. Do NOT change the “True to Autoplay, False not to” setting until a new version/fix comes along. If you do, like I did, you’ll have to deactivate the plugin and start from step 2 again.
    *** It’s most important to follow steps 4,5, 6 exactly as I’ve described them (which is the downfall of the post above… it wasn’t exactly clear what to click, when).
    Anyhoo, enjoy!

  5. 8. You will notice wp-prettyPhoto now works, because wp-prettyPhoto’s javascript settings will change from this:
    “ autoplay: , ”
    to this:
    ” autoplay: 1, “

  6. I’ve tried this as well both ways checked… deactivate-activate and unchecked… deactivate-activate. Neither of these work for me. I’m using wpmu latest version for the record.

  7. line 436 of wp-prettyphoto.php
    autoplay: {$wppp_autoplay},
    should be:
    autoplay: ‘{$wppp_autoplay}’,
    change that and you should be good to go!
     

  8. I have a different problem – the images do not load completely. Have a look here for an example: http://weblang.pl/draft-page-2/
    Any help would be appreciated. It’s a great plugin and it’s a real shame I can’t get it working :-(

  9. @ Andrew
    Unfortunately for me this is still a no go…
    Anticipating a fix =)

  10. did the plugin work on the wp galleries images that link to the file?
    it is not working now and i am not sure if this is going to be solved in a upcoming fix or it was never meant to do that.
    it works if its a image inserted in a post just not on images inserted with the gallery function of wp.
    thanks
    Cezar

Pages: [1] 2 3 4 » Show All

Leave a Reply