determine handler checks if image already exists.