replace image tags with images