wowthemesnet/mediumish-theme-jekyll

Issue in Lazyload

rahulkumarsingh73690 opened this issue · 12 comments

When I implemented the Lazy load on my website featured image cut (not the main problem). The main problem is to implement lazy load as scroll effect. I checked in chrome inspect tools all image load immediately after some second that does not matter. I prefer you to add lazyload as scroll effect.

Do you have a live link?

On my end they only load when I scroll to them, until then it's a fake src:

2019-03-22_16h42_53

Ok, I see the cut image issue. I'll push a fix.

About the lazy load, I get the expected behaviour on your site as well.

not-loaded

loaded

Or am I missing something?

Yes it worked on homepage. Sorry I forget to mention. it's not working on post. Check this post - https://www.andrimo.com/optimise-android/

Please check all image scroll effect.

Oh, ok. Yes, I only implemented lazy load on card images and post featured image for now.

😀😀 I know just confirming from you. And what about featured image wrong size.

That's fixed, I forgot to say.

All working well on my site.

Yes, I know, the demo too. But this is a fix for longer titles, now the image has a dynamic height accordingly.

Home _ Andrimo - Google Chrome 23-03-2019 12_20_57
Not fixed. When you are in the first commit of lazyload featured image is good. But after 2nd the problem starting

It looks like your css is slightly different. In your screen.css file you currently have:

.featured-box-img-cover {
    object-fit: cover;
    max-height: 100%;
}

Instead of this.