Upload image funtionality

wor k  in progress