Friday, February 06th, 2009 | Author: pluc | Views: 1,767

WP-prettyPhoto allows you to use prettyPhoto by Stéphane Caron, a themeable jQuery-powered Lightbox clone with WordPress. Check it out on WordPress Extend!


Category: WP-prettyPhoto
Responses are currently closed, but you can trackback from your own site.

16 Comments

Pages: [1] 2 » Show All

  1. Great job! the Mobile browser check is a nefty feature! good to see you working on Wordpress plugin :)

  2. Hi,
    as a user of nggallery which is widely used there seems to be a conflict as it also uses jquery – firebug gives the following errors: $ is undefined
    $.fn.prettyPhoto = function(settings) {

    $ is not a function
    $(document).ready(function(){

    by adding $pretty = jQuery.noConflict(); at the top of the jquery.prettyPhoto.js and replacing every instance of $ with $pretty there and in wp-prettyphoto.php where i had to change the EOTHM to a classical php echo got me free of errors and both work together now peacfully

    best regards
    bee

  3. I’ve tried to integrate pictures on a blog of mine and got into several problems:
    * There’s no documentation on how to put pictures into wp-prettyphoto galleries, when you are not following the link on this page to Caron’s prettyPhoto. There should be at least a sentence like “Documentation on how to include pictures can be found at…”
    * There seems to be a bug altering the way Caron’s prettyPhoto works compared to WP-prettyPhoto: You have to write rel=”prettyPhoto[]“. It seems not to work without the brackets! At least not in my installation
    * There’s a compatibility issue with the Wordpress theme k2, as it uses the jQuery.noConflict function, so your $ code doesn’t work any more without changing your or k2’s code!

    Nevertheless your plugin is one of the best lightbox plugins for Wordpress I’ve seen so far! Thanks.

  4. @Volker E. Thanks for the feedback. There’s no documentation on how to put pictures into WP-prettyPhoto galleries because you do not need to put pictures into WP-prettyPhoto. It will do so on its own. That’s also why I haven’t mentioned to write rel=”prettyPhoto[]” anywhere, it’s automatic (providing you’re selecting the “Auto-prettify image links” in the settings). WP-prettyPhoto wasn’t tested (or made for) users who choose not to auto-prettify image links. Support for that will be introduced progressively over the next few versions.

    We’re aware of the compatiblity issues, and a fix is coming tonight (1.2.1) that will make WP-prettyPhoto compatible with other jQuery-powered plugins.

    Thanks!

  5. Very nice plugin … impress that you make a Wordpress plugin…

    very good job…

    :D

  6. whats the other name to the script just like this, but costs less?

  7. @Julya: This plugin does not cost anything. Both prettyPhoto (the javascript) and WP-prettyPhoto (the WordPress plugin) are opensource and free.

  8. Hi pluc,
    just by accident i stumbled upon this trying to activate plugin within php4 Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /blabla/blabla/wp/wp-content/plugins/wp-prettyphoto/wp-prettyphoto.php on line 180
    problem was gone as i forced use of php5

    best regards
    bee

  9. @bee You’re absolutely right, and it’s intended. PHP4 celebrated its end of life (end of support) on 2008-08-08. Everyone should have switched to PHP5 by now. If you haven’t, it’s unfortunate. I don’t develop anything and intend it to fail on Internet Explorer 6 and PHP 4, but I develop without caring if it does.

    I hope that answers your question.

  10. Hi pluc,
    totally agree with you but could make sense to mention in installation part to avoid confusion or do some detection of php version with a warning. For example running on shared server hosting default there is php4 just forgot to switch to 5 per .htaccess this time. So this might happen not only to me.

    best regard and thanks for the plugin
    bee

Pages: [1] 2 » Show All