graceful empty image handling.