I'm trying to setup a page where the html will be copied into Mailchimp for a newsletter. The images need to have a full path url. How would I construct the code to provide this? So instead of "/images/something.jpg" it would be "http://domain.com/images/something.jpg".
{% set imageTransform = { width: 520, height: 240 } %}
{% for image in entry.headerPhoto %}
<img src="{{ image.getUrl(imageTransform) }}" alt="{{ entry.title }}" style="display:block;" >
{% endfor %}
If there is text inside rich text fields is there any way to output the full url to those images too?