Forums

Easy FancyBox
Fancy Box not working with NextGen gallery (7 posts)

  1. gopalj.com
    Member
    Posted 9 months ago #

    I just download and installed the Fancy box and set the Javascript effects of Next Gen Gallery to Custom and add the tag as

    class="fancybox" rel="%GALLERY_NAME%"

    But that does show fancy box on my site.

    My site link : http://gopalj.com/drawings-2/

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

  2. RavanH
    Member
    Plugin Author

    Posted 9 months ago #

    There is already FancyBox 1.3.0 integrated into your theme. If you do not have any option to disable that, or have the skills to edit the theme template files to surgically remove it, you cannot run both Easy FancyBox and this theme together.

    Try disabling the Easy FancyBox plugin and see if the NextGen options altered like this:

    class="full" rel="%GALLERY_NAME%"

    will work with the older version of FancyBox inside the theme...

  3. gopalj.com
    Member
    Posted 9 months ago #

    Thanks now I managed to remove the theme version of fancy box. And its working.

    But I see a kind of flash when opening the images. How to avoid that one ?

  4. gopalj.com
    Member
    Posted 9 months ago #

    Never Mind I fixed it...

  5. RavanH
    Member
    Plugin Author

    Posted 9 months ago #

    Great! You might also want to remove the remaining call to http://gopalj.com/wp-content/themes/fotofolio-landscape/js/fancybox/jquery.fancybox-1.3.0.css which is now redundant.

  6. pbecker81
    Member
    Posted 9 months ago #

    Hi,

    I am having similar problems and I believe it is my theme that is causing my Easy Fancybox not to work. Theme is TRENDIS.

    site is http://www.erikbeckerart.com

    On home page under first column footer "Events" the first item I have tried to add
    class="fancybox-iframe" and it will not even open up a window.

    I was using lightbox before and have disabled it. (I wasn't a fan of the style of box)

    I know my theme, Trendis uses fancybox for my gallery images, however, I have no idea how to remove this an make the Easy Fancybox plugin work.

    Please help.

  7. RavanH
    Member
    Plugin Author

    Posted 9 months ago #

    If your theme has FancyBox included already, you cannot add another one with a plugin without running into trouble. If you cannot remove the theme included one, you might be able to use that one instead of my plugin...

    Find out which attribute name your theme uses to bind FancyBox to and use that for your own link too, appended with class="iframe". In your case, you might try this:

    <a href="..." rel="example_group" class="iframe">my link</a>

Reply

You must log in to post.

About this Plugin

About this Topic