Set Image variable when initialising the view