Replace images by figures with title