If JS disabled, the image that is not in the noscript element is shown
-
Hi Patrick,
This is not related to the recent update (0.2), as it was there before.
When disabling JS in the browser, the fallback within the
<noscript>
tags works fine but the placeholder of the image outside the<noscript>
tags, i.e., the one that would have been lazy loaded in case JS had been enabled, is shown thus creating an extra space the same size (width and height) of the image.The solution is to add an inline style
<noscript><style>.lazyload { display: none; }</style></noscript>
to the head of the page via a filter.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘If JS disabled, the image that is not in the noscript element is shown’ is closed to new replies.