This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Vettalo

  • ***
  • 59 posts
Lazyload and force image aspect
« 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.

*

MB Themes

Re: Lazyload and force image aspect
« Reply #1 on: January 12, 2021, 10:28:44 AM »
@Vettalo
Do you mean that boxes will resize?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vettalo

  • ***
  • 59 posts
Re: Lazyload and force image aspect
« Reply #2 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

*

MB Themes

Re: Lazyload and force image aspect
« Reply #3 on: January 12, 2021, 01:51:59 PM »
@Vettalo
Can you send URL?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vettalo

  • ***
  • 59 posts
Re: Lazyload and force image aspect
« Reply #4 on: January 12, 2021, 02:12:22 PM »
@Vettalo
Can you send URL?
Not yet online i have osclass installed on pc.
Regards.

*

Vettalo

  • ***
  • 59 posts
Re: Lazyload and force image aspect
« Reply #5 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
———————————

*

MB Themes

Re: Lazyload and force image aspect
« Reply #6 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vettalo

  • ***
  • 59 posts
Re: Lazyload and force image aspect
« Reply #7 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

*

MB Themes

Re: Lazyload and force image aspect
« Reply #8 on: January 13, 2021, 08:18:54 PM »
Nothing to fix, those are 2 incompatible functionalities.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by frosticek on January 20, 2021, 08:23:39 PM
*

Vettalo

  • ***
  • 59 posts
Re: Lazyload and force image aspect
« Reply #9 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.