Only upload an image if it allows one