added warning message for image read failure