WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Easy FancyBox doesn't work after upgrading WP & plugin (6 posts)

  1. Bigblett1982
    Member
    Posted 2 years ago #

    I had been running a photography website in a 2.x version of WordPress using a older version of Easy FancyBox. Had worked great, but I had the notification to upgrade both WP & the plugin. After upgrading both to the latest installments, linked thumbnails no longer opened in Fancybox but directly to image URL. Please help!

  2. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Got a link?

    If not, please check the FancyBox settings carefully and resave them. Something might have gone haywire during the upgrade. You might need to adjust the setting Selector(s) to be compatible with you theme.

  3. Bigblett1982
    Member
    Posted 2 years ago #

    http://www.jeffblettner.com/photography/

    I'm using AutoFocus+ 1.3 as my theme. I've been playing with the plugin settings and having no luck. Here's a screenshot of my current settings.

  4. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Looking at the pages, I see two problems:

    1. I get the error Uncaught exception: TypeError: Cannot convert 'a.attributes' to object which seems caused by a conflict between two theme js files that are loaded together:

    <script type='text/javascript' src='http://www.jeffblettner.com/photography/wp-content/themes/autofocusplus/js/jquery.hotkeys-0.7.9.min.js?ver=20100329'></script>
    <script type='text/javascript' src='http://www.jeffblettner.com/photography/wp-content/themes/autofocusplus/js/afscripts.js?ver=20100329'></script>

    No idea what theme option is responsible but if you can make the theme load just ONE of them instead of both, the error is gone...

    2. There is a problem with my plugins way of processing the FancyBox CSS and the fact that your WP site is installed in a subdir. I'll look in to that and get back to you on it ASAP. Meanwhile, switching off the auto-trigger option for images should make the script work (but without automaticaly opening the first image of course)...

  5. Bigblett1982
    Member
    Posted 2 years ago #

    I deleted the first javascript file (there's another "hotkeys" js file in the generic wordpress files) and that did the trick! Thanks.

  6. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Excellent!

    I have not seen the CSS problem anymore so maybe my second conclusion was wrong... Glad to see it work :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic