lazyaspectratio broke after 3.2.10
-
After updating to 3.3.2 from 3.2.10 the lazyaspectratio (height calculation before image load) no longer functioned for me.
After much investigation I discovered the issued was caused by the following:
In the previous versions, you added the class .js to the html element and had this inline css declaration:
.js .lazyload { display: block; }
In 3.3.2 you removed the .js class and yet did not add a new declaration anywhere that the images should be block elements, which is required for the lazyaspectratio to work.
So for many users, like myself, there will be instances where images will not be display block by default, so the lazyaspectratio will not work.
Thanks for the fantastic plugin but I would like to urge that you are a little more delicate with changes between versions, and account for backwards compatibility. While I really appreciate your work, your version changes include so many drastic changes that it is very stressful for me to update your plugin. As a developer, for example, I augment your plugin with styles etc., then suddenly classes and css declaration disappear.
Thanks
- The topic ‘lazyaspectratio broke after 3.2.10’ is closed to new replies.