Browser interrupts picture request

1. Normal image loading will initiate a network request, and the corresponding error code will be obtained if the request is not made within a certain period of time.
2. The problem now is that when loads an image, the browser requests for a long time and will not be interrupted, and the finish time in network will not be interrupted even if it waits for an hour, and will not get the error code.
3. Due to the development environment, you can only use the lower version of xp, chrome,. When the number of requests for pictures with the above problems is more than 6 times, other normal images on the subsequent page cannot be loaded (there is no network request, and the personal guess is that the browser is still stuck on the previous problem pictures)
4. I have tried to use js to modify her src, hiding problem and remove for pictures that cannot be loaded for a certain period of time, all of which have not been solved.

Mar.15,2021

change the way of thinking, load with Ajax, set the timeout, and misplay after the timeout; if there is no timeout, append the path to src

.
Menu