Resolve image paths for figures in the TEI