updated image tag to handle missing source images