Convert external assets to data URIs