Osclass Support Forums

Osclass theme support => Beta Osclass Theme => Topic started by: Vettalo on January 12, 2021, 02:48:14 AM

Title: Lazyload and force image aspect
Post by: Vettalo on January 12, 2021, 02:48:14 AM
Hello,
Anyone has figure out how to fix lazyload when force image aspect is checked?
Best regards.
Title: Re: Lazyload and force image aspect
Post by: MB Themes on January 12, 2021, 10:28:44 AM
@Vettalo
Do you mean that boxes will resize?
Title: Re: Lazyload and force image aspect
Post by: Vettalo on January 12, 2021, 12:39:59 PM
@Vettalo
Do you mean that boxes will resize?
What boxes?
I mean lazyload product photo when enabling force image aspect it stops working.
Regards
Title: Re: Lazyload and force image aspect
Post by: MB Themes on January 12, 2021, 01:51:59 PM
@Vettalo
Can you send URL?
Title: Re: Lazyload and force image aspect
Post by: Vettalo on January 12, 2021, 02:12:22 PM
@Vettalo
Can you send URL?
Not yet online i have osclass installed on pc.
Regards.
Title: Re: Lazyload and force image aspect
Post by: Vettalo on January 13, 2021, 05:00:42 AM
@Vettalo
Can you send URL?
This is the last message you sent me since i asked you for the fix of this problem.
———————————
Michal Brezák
3 jul 2020
It is intentional as it is required to know image size for grid setup

Regards,
Michal
———————————
Title: Re: Lazyload and force image aspect
Post by: MB Themes on January 13, 2021, 08:06:35 AM
@Vettalo
Yes right that was basically what was asking at start.
In order to align listings properly into grid, masonry library is used, this one will not work with lazy load on the other side, as masonry needs to know image sizes at page load.
Title: Re: Lazyload and force image aspect
Post by: Vettalo on January 13, 2021, 04:04:21 PM
@Vettalo
Yes right that was basically what was asking at start.
In order to align listings properly into grid, masonry library is used, this one will not work with lazy load on the other side, as masonry needs to know image sizes at page load.
So how can we fix it?
Can you give me an example how to fix.
If it is required to remove masonry i remove just help me do it step by step.
Regards
Title: Re: Lazyload and force image aspect
Post by: MB Themes on January 13, 2021, 08:18:54 PM
Nothing to fix, those are 2 incompatible functionalities.
Title: Re: Lazyload and force image aspect
Post by: Vettalo on January 20, 2021, 08:19:20 PM
Nothing to fix, those are 2 incompatible functionalities.

Problem fixed by removing lazy codes and masonry from beta theme and i have installed lazyload manually using csstrick tutorial.
Regards.