can3p/iviewer — pull request #35 by 67726e (2012-10-22 12:24:35+00:00)
Title: Image Error Callback

I have added an error callback option, `onErrorLoad`, to the plugin. It simply is binded to `onerror` for the image.

As an example use case, I use the very large images in the image viewer and display a loading dialog until the image is loaded. In the event the image cannot be loaded, the loading dialog would be displayed permanently and the use would have no idea that there is in fact a problem.