Hi @ricardods,
thanks for the info, i have tested and it works for me.
Maybe, there is another plugin thath break something…
My plugin always replace all images with:
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
it is just a placeholder, and when the user see the image, my plugin replace the placeholder with original image.
In your example:
mysite.com/image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
the prefix data: is disappeared. Maybe, another plugin works in the same way and cause a conflict.
From my test, my plugin works well with WooCommerce StoreFront.
Sorry, but without any other info i can’t help you.
Check if you have another plugin that work with the images and try to disable it.
My 5 cents: my plugin it just a little performance improvements, not really important. I think woocommerce is more important.
Thread Starter
Ricardo
(@ricardods)
Hello @nigrosimone Thanks for the your time testing this. Your lazy load plugin worked fine until I updated Storefront theme and WooCommerce to the latest version available. The problem occours only on homepage where I display best seller products, Top rated Products, and others like this example here: https://demo.woothemes.com/storefront/?_ga=2.251317390.906711843.1497435749-1839546461.1497265848
On Shop page it works just fine: https://demo.woothemes.com/storefront/shop/
I agree with you, the problem can be with another plugin. I hope I can use your plugin again in the future.
Thanks!
Thread Starter
Ricardo
(@ricardods)
Nigro, the problem is not only with your plugin. See the link:
https://ww.wp.xz.cn/support/topic/lazy-load-homepage-error/
Do you know how I can make only this problematic area not load via lazy load?
I tried the no-lazy-area code and could not make it work.
Thanks a lot!
> Do you know how I can make only this problematic area not load via lazy load?
strange… have you tried to put into page content this code <!-- no-lazy-area -->?
after you save the page content you should check if the same code is into the page html.
if my plug-in find the word no-lazy-area into the page content not perform any operation.
Thread Starter
Ricardo
(@ricardods)
It does not work if I put the above code on homepage. I think I have to add it to the shortcode that is included in PHP homepage file template. But I really don’t know which one I should add.
Thanks
Thread Starter
Ricardo
(@ricardods)
Thanksgod! Fixed with CSS:
img[src=”image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7″] {display: none !important;}
Thread Starter
Ricardo
(@ricardods)
Storefront latest update solved this, thanks DEV