I have 2 identical sites on my local server; the template is Morgan.
In both sites I have a Newsflash module: in one the image is "lazy loaded" and it loses its aspect ratio and it gets stretched.
In the other site, the module doesn't "lazy load" the image and it looks just fine.
I have a suggestion and a question:
The suggestion:
If the module needs to lazy load the image, this css rule is needed so the image doesn't lose its aspect ratio:
img {
max-width: 100%;
height: auto;
}
If the module lazy load the image without this rule, the image loses the aspect ratio.
I added a class to the module with this css rule and now it looks fine.
The question:
how to prevent the module from "lazy loading" the intro images? Why one module does it and the other it doesn't?
Thanks.