- Issue created by @sandboxpl
- π§πͺBelgium rembrandx
A bit of context about that image JS: some of what it tries to accomplish, is detect when an image is loaded, so it can unset some css used to display a preloader while images are loaded. But also to fix lazy loading images that donβt want to load. I seem to recall cached images not doing what they are supposed to do, for example.
That first thing is not needed to have a functional site, that second thing might not be relevant anymore depending on how lazy loading is implemented in browsers these days, how it works with other image libraries from the modules, β¦The logic to detect loaded images, is old and what was available at the time. So could be thereβs better ways now to check image being loaded. Or might not be needed anymore at all (just check stuff works when reloading pages please).
- First commit to issue fork.
- Merge request !31Issue #3426290: Images lazy loaded with jQuery are rendered as binary data in devtools β (Open) created by jorgik