Answers.Body: <p>Changing the Settings > Assets > Sources url fixed the problem globally. Thanks for the help, aran. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-28T19:32:10.850Z
Answers.LastActivityDate: 2015-10-28T19:32:10.850Z
Answers.UserDisplayName: glider
Body: <p>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 "<a href="http://domain.com/images/something.jpg" rel="nofollow">http://domain.com/images/something.jpg</a>".</p>
  
  <pre><code>{% set imageTransform = { width: 520, height: 240 } %}
  {% for image in entry.headerPhoto %} 
   &lt;img src="{{ image.getUrl(imageTransform) }}"  alt="{{ entry.title }}" style="display:block;" &gt;   
  {% endfor %} 
  </code></pre>
  
  <p>If there is text inside rich text fields is there any way to output the full url to those images too? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-28T18:08:19.403Z
Comments.Text: Do your images currently not have a full url? Normal output should provide a full url.  Are you using a local source or a third party source for you images like AmazonS3? If you setup your assets source in the CP *(Settings > Assets > Sources)* you can set the URL Prefix which should prefix all your asset urls.
Comments.UserDisplayName: a-am
Tags: <image-transforms>
Title: Full url to image transform
ThreadText: # Full url to image transform
  
  (Asked by: username_0 on 2015-10-28)
  
  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?
  
  **Tags:** image-transforms
  
  > **Comments:**
  > **username_1**: Do your images currently not have a full url? Normal output should provide a full url.  Are you using a local source or a third party source for you images like AmazonS3? If you setup your assets source in the CP *(Settings > Assets > Sources)* you can set the URL Prefix which should prefix all your asset urls.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-10-28. Score: 2
  
  Changing the Settings > Assets > Sources url fixed the problem globally. Thanks for the help, aran.
  
  
  ---
  
  