Smugmug gallery images distorted with lazy loading plugin enabled
-
I have a Smugmug gallery with a growing collection of photos. I want to “lazy load” the images so only images within the viewport are loaded (not all images on page load). If I enable any lazy loading plugin (I’ve tried 3 plugins) the images become square (as opposed to masonry-like) and the images are distorted (aspect ration changed).
I’ve messed with every setting possible in Photonic, in Smugmug, and in the lazy load plugin (a3 Lazy Load). Nothing helps. Yes, I know I can limit the quantity of images and add a “load more” button, but that’s so 2012.
Currently, my problem page has lazy loading turned off and it will take some time to load but does display the images correctly. Here is a screen grab of the distorted images with lazy loading turned on: https://www.dropbox.com/s/lne0d2ibnk64ibf/smugmug-distorted.png?dl=0
Oh, one more thing … if I resize the browser window, any images in the viewport will correct themselves to the proper aspect ratio. If you then scroll south, problem returns until browser is resized again. (Tried Firefox and Chrome on a Mac)
I’m wondering if there’s some CSS I could add to make this work./?
Any help appreciated.The page I need help with: [log in to see the link]
- The topic ‘Smugmug gallery images distorted with lazy loading plugin enabled’ is closed to new replies.