Home › Forums › WoodMart support forum › Lazy Load issue
Lazy Load issue
- This topic has 20 replies, 2 voices, and was last updated 1 year, 4 months ago by Artem Temos.
-
AuthorPosts
-
February 27, 2023 at 12:48 pm #446660
onlinestoreParticipantHello, I have an issue while loading a gallery module on home page, see here: https://prnt.sc/_4Ylm7YiC7L4
Basically, the images from second row of this elementor module only appears when I scroll the page down. The effect is very bad since it’s home page, so I was wondering if there was some kind of fix for this? I cheked in module options but I didn’t find how to disable lazy load for those 2 images. Thank you for your help.
February 27, 2023 at 1:24 pm #446689
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
February 27, 2023 at 1:26 pm #446690
onlinestoreParticipantHello, below admin access. I am disabling every plugin in right now.
February 27, 2023 at 1:28 pm #446691
Artem TemosKeymasterHello,
Try to add 100-200 px offset for the Lazy loading option in Theme Settings -> Performance -> Lazy loading https://gyazo.com/48ba727fb7cf2b421986c5a2ceaa047c
Kind Regards
February 27, 2023 at 1:33 pm #446693
onlinestoreParticipantI just disabled everything but the issue still persist. I cleared cache and used another browser too. So the issue it’s not external plugins related, at least in my opinion.
February 27, 2023 at 2:38 pm #446711
onlinestoreParticipantAh Sorry I posted my last reply before seeing yours! It seems that adding +100px to settings fixed the issue, thanks for help!
February 27, 2023 at 3:12 pm #446717
Artem TemosKeymasterGreat, we are glad to help! Feel free to contact us if you have any further questions.
March 9, 2023 at 9:23 pm #449833
onlinestoreParticipantHello. I bring back this topic because I have an issue on product pages with theme lazy load. Some thumbnails fail to load, even if you scroll the thumbnail list, see here and image attached: https://atmosphere.it/shop/decorazione/mappamondi/lampada-mappamondo-light-colour/
Attachments:
You must be logged in to view attached files.March 10, 2023 at 11:00 am #449962
Artem TemosKeymasterHello,
We just visited your product page and see that all the thumbnails are loaded correctly. Here is a screenshot https://gyazo.com/68649bd834fae8e71cecd851b66d586f
Kind Regards
March 10, 2023 at 11:32 am #449978
onlinestoreParticipantYea I see that this one is working now, please try to check another product, as example the ones you see in home page. I always see blank thumbnails after the first 6/7 ones that are loaded correctly when you click on the up and down arrows under the thumbnail column. They tend to appear only when I scroll the page down. Can it be related to the 200px offset we set for lazy load?
March 10, 2023 at 12:41 pm #450003
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file and see how it works
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
March 13, 2023 at 1:23 pm #450688
onlinestoreParticipantHello, I did but I got no effect.
March 13, 2023 at 5:29 pm #450776
Artem TemosKeymasterTry to add the following code snippet to the Custom JS on document ready area in Theme Settings to fix this issue.
(function($) { $thumbnails = $('.woocommerce-product-gallery .thumbnails'); if ( $thumbnails.length && $thumbnails.find(' img').hasClass('wd-lazy-load') ) { $thumbnails.on('afterChange', function () { $(document).trigger('wood-images-loaded'); }); } })(jQuery);
March 14, 2023 at 11:35 am #450965
onlinestoreParticipantHello, the issue seems fixed now, thank you! Can I remove PHP snippet now, or it should stay?
March 14, 2023 at 1:04 pm #450994
Artem TemosKeymasterYes, you can remove the previous code. Let us know if it works for you.
Kind Regards
July 17, 2023 at 12:27 pm #482001
onlinestoreParticipantHello, I bring back this old topic since the issue just came back to our site. I updated the lazy load setting to 250px but no change. See https://prnt.sc/3F2hTamvmkcX
July 17, 2023 at 12:30 pm #482010
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
July 17, 2023 at 12:42 pm #482019
onlinestoreParticipantAdmin access is written in a previous post of this topic.
July 17, 2023 at 12:44 pm #482020
onlinestoreParticipantI will try to disable the plugins but it’s a live environement, I just can’t disable everything. The first time that this issue happened it wasn’t plugin-related. See posts above. Please take a look and see if you identify the issue before having to disable everything.
July 17, 2023 at 1:21 pm #482027
onlinestoreParticipantUpdate: I disabled lazy load from theme options since this feature is already managed by our hosting, now the issue seems to be fixed. If I have updates I will inform you. Thank you for the time being.
July 17, 2023 at 2:08 pm #482040
Artem TemosKeymasterOK, let me know if you have further questions.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register