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. @ dgodfather
    load up firebug on firefox and goto the console tab… if there is a problem it should spit out and error. thats how i fixed my issue with the autoplay.

  2. Loaded it up, fixed the errors and still nothing…
    Thanks for trying to help out!

  3. me again,
    i see there was no answer to my previous question. i hope it isn’t because i was unclear in my question.
    thanks,
    Cezar

  4. Ansel, thanks for making that a bit more clear (it helped). It actually uses the prettyPhoto pop-up window now.
    However, the images don’t display in the pop-up.  The pop-up window is the correct size for the image it would display, but I’ve tried several different images and file types and is still doesn’t display.
    Anyone have an idea??

  5. Hi, I tried Ansel Taft’s fix and I get the following error when clicking on an image: Image cannot be loaded. Make sure the path is correct and the image exists

    Of course I made sure the image exists and the path is correct: when copied and pasted the path in the browser’s address bar the image comes up.

  6. This’ll be fixed in an upcoming release, most likely this weekend (Feb 6th-7th). Stay tuned.

  7. WP 2.9 won’t even let me install… manually, or otherwise.  Error no matter what I do. Just says the uploaded file cannot be moved.
    I’ve tried everything, almost.  Sucks, because Prettyphoto FTW, as far as I’m concerned.

  8. Ok, now it says…. (reported on line 21)

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’
    Help, anyone?

  9. @Steve: You’re having two problems. Your server is all messed up or running something pretty weird, which causes the FTP problem – you could be out of disk space or something like that. As for the other error, that is documented and the cause is you’re running PHP4 which is widely considered deprecated. WP-prettyPhoto does not and will not support it.

  10. I installed a new wordpress theme that requires wp-prettyphoto, and I am also getting the same error:
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’
    My godaddy hosting is using php4, so does this mean then that by upgrading to php 5 the plugin will work?
    Thanks for your response.

Pages: « 1 [2] 3 4 » Show All

Leave a Reply