fill in image references