Skip to main content

Lazy load messes with gallery of photos layout

Comments

17 comments

  • KC George

    Hello Afonso,

    I could not reproduce the issue you have reported. Please see my test at https://jmp.sh/RoZDEc5P What are the steps we must follow to see the problem you are seeing? Maybe you can demonstrate the issue for us in a screen recoding?

    0
  • Afonso Valente

    I disabled on each and every photo the lazy load to fix this issue but now the website takes around 7 to 10 seconds to load completely and I think that is why. My main goal is to make the website load faster and I think lazy load would make it possible

    0
  • KC George

    Hello Afonso,

    For testing, I have enabled "lazy loading" for all image in your "Landscapes" portfolio towards the bottom of the page. The gallery loaded fine at my end. Please check at your end.

    0
  • Afonso Valente

    I will share a link with the issue, it happened to me now

    https://photos.app.goo.gl/xjuigQNVKiCNEB1EA

    Also did you enable on the main page? You can click on each photo there and it loads a gallery as well, there if it is enabled also happens

    0
  • KC George

    Hello Afonso,

    Unfortunately, the video did not open at my end and hence I could not see the problem. Can you use a service like https://www.loom.com/ to make a screen recoding and share the link with us?

    0
  • Afonso Valente

    https://www.loom.com/share/da76ced4f3154146883572b4eacab41a

    0
  • KC George

    As you can see at https://jmp.sh/2dHJrVJY, the "Landscapes" gallery loads fine on Google Chrome. Please test the same page using multiple browsers and let us know on which browsers do you see the above problem.

    0
  • Afonso Valente

    It's not only the landscapes it depends on where I am when I reload the page, I have cleared my cache and used different devices it is even doing this on mobile, it it happens here I do not know what can be done to fix it, but again, my problem is not that it is the website first loading that takes a lot of time I can have lazy load disabled just to make sure it does not mess up with the gallery layout, but everyone coming in still needs to have a 7 to 10 second wait for the website to load fully.

    0
  • KC George

    We would like to reproduce the problem you are seeting at your end. Can you please let us know which browser you were using while visitng the portfolio page? 

    • Safari
    • Chrome
    • Firefox
    • Opera

    If you were testing on a mobile, did you see the above issue on an Andoid phone or an iPhone? Give us more details so that we can attempt to see the problem you are seeing at our end.

    0
  • Afonso Valente

    It was on both chrome and Firefox on Android and windows

    0
  • Afonso Valente

    About the lazy load it's the same issue I showed on video but for mobiles l, no matter the device I even tested on other new androids that never opened the website before and it did the gallery problem, but that is completely fixed if I disable lazy load on everything, the bigger problem I have os the loading times, not on the devices that it already has opened, somethimes it takes up to 10 seconds to load but others it's quick I assume because the browser stored the data, but on new devices and if I clear the cache it takes up to 10 seconds to load everything all over again

    0
  • KC George

    I tested using Firefox browser for Android and the page loaded instantaneously for me. Please see my test at https://jmp.sh/NtmVu0kY 

    Please visit https://fast.com/ and check your internet speed. Probably I am testing on a relatively a faster connection. Could that be a factor?

     

    0
  • Afonso Valente

    Please check if you can open this link since I could not seem to upload this to loom

    https://quickshare.samsungcloud.com/bsDbdxyF2jpE

    0
  • KC George

    Hello Afonso,

    I could download the video and watch it.  

    Your Portfolio page has around 140 photos. A page with so many photos is likely to load slower compared to a regular page with just a few images. The page loaded instantaneously even for the first time using the Firefox browser at my end on my mobile.

     

    0
  • Afonso Valente

    Okay, thank you, I tried to fix this by doing .webp files and with 80% quality but I hunderstand it is a lot

    0
  • Afonso Valente

    Please revert the lazy load to all of the images please

    0
  • KC George

    Hello Afonso,

    I have disabled lazy loading for all images under the "Landscapes" section of your portfolio page.

    0

Please sign in to leave a comment.