-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background load is not detected. Always calls the 'isLoaded' callback. #270
Comments
isLoaded
callback.
isLoaded
callback.
Well, after deeper look into the documentation I found the source of the issue. The documentation is contradictory saying
Probably better to change the last phrase into something |
Then there is still another issue when the pattern used in the documentation to detect the image is loaded
calls the The test case is at the link in my first message here. |
Thanks for reporting this issue. I'll have to take a look. |
Same problem here. Why is it still not being fixed? This plugin is completely useless - it runs my function even if the picture is not loaded (or also if there is no picture at all or the complete div does not exist). |
I can confirm that this is not working for background images. It is triggering "done" long before the image actually loads. I am dynamically creating a number of DIVs and applying a "background-image" to each. If I use Chrome's developer tools to set "Fast 3G", there are a few seconds between "done" triggering and the images finishing to load/displaying. |
Hello,
thanks for the great piece of the code of yours 💯
Though I found
imagesloaded
, while in the background mode does not detect if the image is loaded. Either it is or it is not, or even when the element does not have any background, the callback function signals in all the cases that the bg is loaded.Here is the reduced test case on CodePen based on your recommended example.
Can you please kindly check and fix this or tell if I do something wrong?
Thanks again,
Val
The text was updated successfully, but these errors were encountered: