Image exists check is now done lazily