Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #189553

    I have an issue with the Fullwidth Masonry Gallery loading for the first time.

    I have 4 galleries with over 50 images in each… I want them to load in a single go (i.e. all images to come up, so I’ve set the # displayed to be 100).

    The issue is the first time a page loads (if you clear your browser cache)… the first lot of images load fine, and then if you scroll down, the images all start loading on top of each other, instead of forming the proper masonry tile…

    If you then refresh the page, the images all load up perfectly…

    You can see the issue at: http://ivankaart.com/galleries/imotion/

    Any ideas on how this can be fixed?

    Thanks,

    Joe

    #189890

    Hey Joe!

    I think is a bug, however i found a temporary solution, add this at the end of js/avia.js:

    jQuery(function () {
        jQuery(window).resize();
    });

    Best regards,
    Josue

    #189893

    Thanks for the quick response!

    I have tried this… however it did not seem to change the behaviour :(

    Just verifying I have added at the very bottom of js/avia.js so:

    ];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.load(function(){return n[m](“refresh”)})})}).call(this);

    jQuery(function () {
    jQuery(window).resize();
    });
    Is that correct?

    #189894

    Hi!

    You have a Minify/Cache plugin, flush it and try it again.

    Cheers!
    Josue

    #189896

    I have ocmpletely disabled W3 total cache, and flushed the browser cache too…
    Still the same behaviour :(

    J

    #189897

    I can make a temp admin account for you, if you want to log in, if that helps solve it faster?

    #189899

    Hi,

    Ok, create an administrator account and post it here as a private reply.

    Regards,
    Josue

    #189925
    This reply has been marked as private.
    #190252

    Ok, see it now:
    http://ivankaart.com/galleries/imotion/

    Best regards,
    Josue

    #190423

    Great!

    I thought it was still doing it, but then it refreshes itself and expands the view! Just fine!!

    Thanks for the fix… could you tell my what it was? I’d like to note it in case when I update the theme it regresses ( I also have some other sites, which may have the problem also )…

    Kind Regards,

    Joe

    #190447

    Hey Joe,

    This is the final code that made the trick (at the end of js/avia.js):

    jQuery(window).on('load', function(){
        jQuery(window).resize();
    });
    

    I noted that the bug gets fixed if the window is resized, so that code simulates a resize after all the page is loaded.

    Cheers!
    Josue

    #190448

    Excellent – Thank you.

    Will this make it into the next update? Or will I have to update etc….

    J

    #190453

    That’s a temporary solution, a final fix will probably be included in future releases.

    Best regards,
    Josue

    #190462

    Thanks again for the quick response – much appreciated!

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Fullwidth Masonry Gallery image loading issue’ is closed to new replies.