replace image placeholders with placeholders.