Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1128953

    We have a mansony gallery display bug. The thumbnails are cramped. I noticed that when viewing the page with admin-bar or if the window is resized, like opening the google chrome console, the thumbnails are okay.

    #1128955

    So I noticed that the thumbnails are being rendered okay when the window is resized. For now, I added this hack:

    
    <script>
    jQuery(function($) {
      if($('.page-id-556').size() > 0) {
        window.setTimeout(function() {$(window).trigger('resize');}, 500)
      }
    })
    </script>
    
    #1128964

    Hi,

    Did you need further help on this topic?

    Best regards,
    Jordan Shannon

    #1128995

    I was wondering if the same issue had reported before and if there’s a better fix?

    #1129392

    Hi,

    Thank you for the update.

    Yes, this has been reported before. It’s a bug in the “isotope” script. It calculates the items’ position immediately without waiting for the images to fully load. Your solution is almost the same as the one we usually recommend.

    // https://kriesi.at/support/topic/issue-with-loading-large-masonry-galleries/#post-1116008

    You can also try to optimize the images, decrease their size or adjust the number of items in the masonry element.

    Best regards,
    Ismael

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