scaleflex/js-cloudimage-responsive

Content reflow using cloudimage lazyload

hamilton-seguin opened this issue · 9 comments

Hi,

I'd like to know if there is any way to prevent content reflow after lazyloaded images appears with cloudimage?

How could I fix that issue with CSS or a JS?

Thank you

hey @VoyageinStyle ,

can u pls record a small video with the problem to understand the problem fully. Thx

hey @VoyageinStyle ,

the problem is that you don't set ratio property.

https://github.com/scaleflex/js-cloudimage-responsive#img-tag

image

@VoyageinStyle ,

on your page you use 2.0.2 version of the plugin, and attribute ci-ratio was named differently. I suggest you to update to the last version 3.4.10 https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/3.4.10/js-cloudimage-responsive.min.js. Tell me if everything is fixed in new version, also remove other attributes as data-src and srcset to not mix things.

@VoyageinStyle ok, cool. Happy Coding!