image file required before upload button is pressable