Add upload image preview functionality