-
AuthorPosts
-
May 25, 2015 at 5:31 pm #449629
Hello,
While using the masonry gallery, many visitors reported that the images loading in the gallery, are sometimes load only partly, with stripes.
One client also told me this: “you may want to mention to Dan that the page uses $(document).ready and the problem may be that it needs $(window).load because of all the images” .Can you have a look at this ? I also noticed the images are not optimized for the theme, google speed test gives me a horrible score. what should the image size be ?
Dan
May 26, 2015 at 5:23 am #449795Hi tech500!
Thank you for using Enfold.
The masonry items loaded fine when I checked the page initially. Try to install a cache and minify plugin to improve loading speed. Or follow the solution provided here: https://kriesi.at/support/topic/masonry-gallery-images-stacking-on-top-of-each-other/#post-433895
The thumbnail that is being use in the masonry element is the masonry thumbnail with a max width and height of 705px. This is important to cover taller and wider images which is what the masonry element needs, flexibility. And since the masonry column container is percentage base, there’s no way to set a specific thumbnail size without compromising the image ratio and proportion. To make a long story short, any page with the masonry element in it will have a hard time passing the google image optimization test without tinkering with the core theme files. However, you can decrease the thumbnail size and then regenerate the thumbnails (https://wordpress.org/plugins/simple-image-sizes/) or you can use this plugin to compress image file size even more: https://wordpress.org/plugins/wp-smushit/
Best regards,
IsmaelMay 26, 2015 at 7:53 am #449850This reply has been marked as private.May 27, 2015 at 7:24 am #450448Hi!
That could happen on users with slower internet connections so enabling a cache plugin should help. I’m not sure if W3 Total Cache plugin is compatible with the wpengines’s cache system so you have to test it yourself. Or you can ask them.
Also, please try the solution provided here: https://kriesi.at/support/topic/masonry-gallery-images-stacking-on-top-of-each-other/#post-433895
It will trigger the resize event every two seconds and it will force the masonry items to position correctly. It will stop when the page finished loading.
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.