Image upload, getImage() method