WordPress.org

Ready to get started?Download WordPress

Forums

Photonic Gallery for Flickr, Picasa, SmugMug, 500px, Zenfolio and Instagram
[Plugin: Photonic Gallery for Flickr, Picasa, SmugMug and 500px] Photonic conflict with jquery (4 posts)

  1. samdlaw
    Member
    Posted 2 years ago #

    Hi,
    When I enable Photonic (and Fancybox for WordPress) I am getting the below error:
    a(c).offset(function (a, b) {return b;}).offset is not a function
    If I disable Photonic, Fancybox works as expected. I know this is not conflict between Photonic and Fancybox but still there is some conflict where jQuery is initialized twice or something.

    Can you please look into it? I'll provide the detail for by blog and ftp link if you r interested. My blog is http://blog.zeronea.com/

    http://wordpress.org/extend/plugins/photonic/

  2. Sayontan Sinha
    Member
    Plugin Author

    Posted 2 years ago #

    There is a plugin you have that loads all of these on the front end:

    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.button.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.position.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js?ver=1.8.20'></script>

    Looking at your page I seriously doubt you have anything that needs "draggable", or "resisable", or "dialog" etc. in the front-end (all of these also contribute to your site load time). One of these scripts is causing a conflict. You might want to try switching off your plugins one by one to see which one is loading all of these up.

  3. samdlaw
    Member
    Posted 2 years ago #

    I could see there are two versions in Suffusion. What do you suggest?
    Path: wp-content/themes/suffusion/admin/js/jquery-ui
    jquery-ui-1.8.7.custom.js
    jquery-ui-1.8.12.custom.js

    Can I send u an ID to play around and help me out because I really feel I'm not enough qualified for this.

  4. Sayontan Sinha
    Member
    Plugin Author

    Posted 2 years ago #

    Suffusion has nothing to do with it, and those two versions are never loaded together - one is loaded if you have an older version of WP and the other is loaded if you have a newer version of WP.

    As I mentioned in my previous post, just try and deactivate your plugins one by one - leave Fancybox and Photonic standing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic