I have several hundred images included with the package as project files. For whatever reason, some of them are intermittently failing to load. Sometimes they work and sometimes they don't.
My workaround is to try to reload the image if the image load fails.
Is it possible to get a callback when an image fails to load from URL? I would like the system to automatically try to load the image again, rather than requiring some user input if the image doesn't appear. I tried to detect failure based on the size of the image (set size to 0,0, load image and resize to image size, then detect if the size is still 0,0 -> if so, then image failed to load), but my technique didn't work.
Any ideas?