I allow users to submit images to use as thumbnails on my website. The thumbnails aren’t stored on my servers. Sometimes, a few of them are really slow. How can I remove the ones that are taking too long to load? The only thing that I can think of is using .load() or .error(), but those events won’t even fire until the images load/fail.
Edit: or even better, how can I temporarily display a loading .gif?
Have you considered using animated gif as a background of thumbnail containing div?