Function to register error image when failed to load the source image
the image to show, supported type is Int and Drawable
when the source is not supported type