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:
- 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.
- In your admin options, deactivate the plugin then reactivate it.
- Go in the WP-prettyPhoto options and change the value of “autoplay”, you can change it back later.
- 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.



January 29th, 2010 at 12:46 pm
@ 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.
January 29th, 2010 at 8:25 pm
Loaded it up, fixed the errors and still nothing…
Thanks for trying to help out!
February 1st, 2010 at 3:58 pm
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
February 2nd, 2010 at 2:41 pm
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??
February 5th, 2010 at 10:51 am
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.
February 5th, 2010 at 10:58 am
This’ll be fixed in an upcoming release, most likely this weekend (Feb 6th-7th). Stay tuned.
February 5th, 2010 at 8:51 pm
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.
February 5th, 2010 at 8:56 pm
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?
February 6th, 2010 at 1:54 pm
@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.
February 7th, 2010 at 2:09 am
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.