Deleted getImage function