Adding reference for images