Added better error handling for remote image assets too.