added ref to image