Added ref to image