• Resolved bluantinoo

    (@bluantinoo)


    I use quite often the “lightbox” plugin Easy Fancybox and I set that any image will automatically be opened via fancybox.

    this causes a double opening in simply instagram widget images, because both the widget and Easy Fancybox try to open the picture.

    To solve just add the class “nofancybox” to the link that opens the images on widget:

    line 95 of file simply-instagram-functions.php

    from this:

    $output = '<a href="' . $data['data'][$i]['images']['standard_resolution']['url'] . '" rel="' . $customRel . '[instagram]" title="' . htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ). '">';

    to this:

    $output = '<a class="nofancybox" href="' . $data['data'][$i]['images']['standard_resolution']['url'] . '" rel="' . $customRel . '[instagram]" title="' . htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ). '">';

    easy peasy 🙂

    I hope developers will add this small fix in next release, I love this instagram plugin 🙂

    http://wordpress.org/plugins/simply-instagram/

  • The topic ‘Small Conflict with Easy Fancybox’ is closed to new replies.