Change image to variable