Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1084

    Is it possible to use FancyBox instead of PrettyPhoto for the lightbox?

    It does look a wee bit better maybe.

    http://wordpress.org/extend/plugins/fancybox-for-wordpress/

    http://fancybox.net/

    Thanks

    Mr M

    #33923

    Hey,

    You’re free to change the functionality of your copy of the theme :)

    If what you’re asking is can this be changed in an update to the theme, it’s probably a no but it’s not my call so I’ll mark this for Kriesi’s attention. It would inconvenience many users who already use PrettyPhoto :(

    James

    #33924

    You can try to implement fanybox by editing custom.js;

    Change following code:

    1)

    // activates the lightbox page
    my_lightbox("a[rel^='prettyPhoto'], a[rel^='lightbox']",true);

    to a relative attribute which fancybox needs

    2)

    jQuery($elements).prettyPhoto({
    "theme": theme_selected /* light_rounded / dark_rounded / light_square / dark_square */
    });

    to the syntax fancybox needs (documentation can be found on the official homepage – it will look like

    jQuery($elements).fancybox({});

    or similar.

    Please be aware that we can’t give support to any problems related to this modification.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Is it possible to use FancyBox instead of PrettyPhoto for the lightbox?’ is closed to new replies.