added references to images in text