Support » Plugin: Photo Gallery by 10Web - Mobile-Friendly Image Gallery » Problem with intagram feed+Photo Gallery

  • Resolved sobreton

    (@sobreton)


    mail from Instagram Feed support :
    You will want to reach out to the developer of the Photo Gallery plugin for assistance. The error is coming from their plugin which is preventing our plugin and possibly other plugins that rely on JavaScript from functioning properly.
    Michael – Support Hero @ Smash Balloon

    For a week, My access don’t work – the feed is empty
    you can look footer : http://www.unmondedevoyages.com

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @sobreton,

    Thanks for your inquiry.

    Please enter Photo Gallery > Options > General and enable here Developer Mode option.

    This should fix the issue until we’ll check the problem in general and will fix with an update.

    sorry – it does not solve the problem

    it does not solve the problem

    Plugin Support kimabaghdasaryan

    (@kimabaghdasaryan)

    Hi,

    We are sorry for the late reply. Please note that most probably it is a conflict. jquery is being deregistered/registered, for example, from Theme.
    Please navigate js/bwg_frontend.js file and and insert this part of the code:

    jQuery.fn.extend({
     hideShow: function (callback) {
       this.checkForVisiblilityChange(callback);
       return this;
     },
     checkForVisiblilityChange: function (callback) {
       if (!(this.length >>> 0)) {
         return undefined;
       }
       var elem, i = 0;
       while ((elem = this[i++])) {
         var curValue = jQuery(elem).is(":visible");
         (elem.lastVisibility === undefined) && (elem.lastVisibility = curValue);
         (curValue !== elem.lastVisibility) && (
           elem.lastVisibility = curValue,
           (typeof callback === "function") && (
             callback.apply(this, [new jQuery.Event('visibilityChanged'), curValue ? "shown" : "hidden"])
           ),
             (function (elem, curValue) {
               setTimeout(function () {
                 jQuery(elem).trigger('visibilityChanged', [curValue ? "shown" : "hidden"])
               }, 10)
             })(elem, curValue)
         )
       }
       (function (that, a) {
         setTimeout(function () {
           that.checkForVisiblilityChange.apply(that, a);
         }, 10)
       })(this, arguments)
     }
    });

    before this code:

    jQuery(this).hideShow(function(event, visibility) {
       if ( visibility == 'shown' ) {
         bwg_main_ready();
       }
     });

    Please let us know if it helps.

    Thank you!

    Have a nice day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.