*

Ivanko

  • *****
  • 388 posts
[SUGGESTION] - Veronika lazy loading for <= 767
« on: December 18, 2018, 12:21:34 AM »
It will be great if lazy loading for images via js could be implemented for Veronika theme and other themes, because google page speed do not like hiding css styles , and drops down speed loading dramatically for mobile view with warning:

Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive.

source :
https://developers.google.com/web/tools/lighthouse/audits/offscreen-images

thanks  :o
« Last Edit: December 18, 2018, 12:33:23 AM by Ivanko »

*

MB Themes

Re: [SUGGESTION] - Veronika lazy loading for <= 767
« Reply #1 on: December 18, 2018, 09:12:34 AM »
@Ivanko
You can activate lazy load for images in theme settings.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ivanko

  • *****
  • 388 posts
Re: [SUGGESTION] - Veronika lazy loading for <= 767
« Reply #2 on: December 18, 2018, 03:37:44 PM »
ok...hm...what name of this check box or option....?

*

MB Themes

Re: [SUGGESTION] - Veronika lazy loading for <= 767
« Reply #3 on: December 18, 2018, 04:51:26 PM »
I will have to check
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ivanko

  • *****
  • 388 posts
Re: [SUGGESTION] - Veronika lazy loading for <= 767
« Reply #4 on: December 22, 2018, 07:40:05 PM »
seems with MEDIA settings

Force aspect
Force image aspect. No white background will be added to keep the size
. = CHECKED

Code: [Select]
$("img.lazy").lazyload();return the error
Code: [Select]
TypeError: $(...).lazyload is not a function
With UNCHECKED  option
Code: [Select]
$("img.lazy").lazyload();is working fine

But in second case when lazyload is working fine few problems comes up:
1.if upload portrait image , taken from mobile phone, during posting , this image rotates to landscape (
2.if upload portrait image from PC during posting, it becomes aligned to left in gallery view, rest of right side become white (

seems it it is osclass bug, not sure
can you reproduce on your side ?



thanks
« Last Edit: December 22, 2018, 07:44:35 PM by Ivanko »

*

MB Themes

Re: [SUGGESTION] - Veronika lazy loading for <= 767
« Reply #5 on: December 23, 2018, 05:22:48 PM »
@Ivanko
Yes it must be checked.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots