Added image captions to figure directive