# Full URL for image in text/plain emails

**URL:** <https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198>\
**Category:** Support\
**Created:** [18 Abril, 2017 15:09 UTC](https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198 "2017-04-18T15:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ihnorton](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ihnorton/32/121072_2.png) [@ihnorton](https://meta.discourse.org/u/ihnorton)\
**Post date:** [18 Abril, 2017 15:09 UTC](https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198/1 "2017-04-18T15:09:50Z")

</div>

In the the `text/plain` version of emails from Discourse, `<img>` URLs are relative. For example, the email notification for [this post](https://discourse.slicer.org/t/external-calling-at-slicer-3d/136) has the full URL in `text/html`, but only the relative URL in `text/plain`.

> **example email contents**
>
> ```plaintext
> ----==_mimepart_58f541ae7b23d_15dd3fe30efca3ec4330ef
> Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: 7bit
> 
> Hi everybody,
> 
> I am programming an extension module for Slicer 3D. In one step I need to call an external command (Elastix). At this point is when I obtain the following error:
> 
> <img src="/uploads/slicer/original/1X/6e7cf603bea688a3821efdb228bd5f65599bcb13.jpg" width="690" height="25">
> 
> I have not been able to solve it yet. Do you know how get rid of this problem? It works when I execute the call in a terminal.
> 
> I look forward to hearing from you. Thanks in advance.
> 
> Sincerely,
>  
> 
> Alba.
> 
> ---
> [Visit Topic](http://discourse.slicer.org/t/external-calling-at-slicer-3d/136/1) or reply to this email to respond.
> You are receiving this because you enabled mailing list mode.
> 
> To unsubscribe from these emails, [click here](http://discourse.slicer.org/email/unsubscribe/a6d3f9070a2ff5be8ac754586568b0e2829ade0f9669f001b039e8e4498bbe56).
> 
> ----==_mimepart_58f541ae7b23d_15dd3fe30efca3ec4330ef
> Content-Type: text/html; charset="UTF-8"
> Content-Transfer-Encoding: 7bit
> 
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><p></p><div style="margin-left: 15px">
> <br>Hi everybody,
> 
> <p>I am programming an extension module for Slicer 3D. In one step I need to call an external command (Elastix). At this point is when I obtain the following error:</p>
> 
> <p><img src="http://discourse.slicer.org/uploads/slicer/original/1X/6e7cf603bea688a3821efdb228bd5f65599bcb13.jpg" width="auto" height="auto" style="max-width: 100%;"></p>
> 
> <p>I have not been able to solve it yet. Do you know how get rid of this problem? It works when I execute the call in a terminal.</p>
> 
> <p>I look forward to hearing from you. Thanks in advance.</p>
> 
> <p>Sincerely,</p>
> 
> <p>Alba.</p>
> 
> <p></p>
> </div>
> 
> <hr>
> 
> <p><a href="http://discourse.slicer.org/t/external-calling-at-slicer-3d/136/1">Visit Topic</a> or reply to this email to respond.<br>You are receiving this because you enabled mailing list mode.</p>
> 
> <p>To unsubscribe from these emails, <a href="http://discourse.slicer.org/email/unsubscribe/a6d3f9070a2ff5be8ac754586568b0e2829ade0f9669f001b039e8e4498bbe56">click here</a>.</p>
> ----==_mimepart_58f541ae7b23d_15dd3fe30efca3ec4330ef--
> 
> ```

I see there have been several related discussions and PRs in the past:

[https://meta.discourse.org/t/some-links-in-emails-not-including-the-full-url/11211](https://meta.discourse.org/t/some-links-in-emails-not-including-the-full-url/11211)

[https://meta.discourse.org/t/links-in-mail-lack-http-s-protocol/15794](https://meta.discourse.org/t/links-in-mail-lack-http-s-protocol/15794)

[Fix relative URLs in plain text emails by peternlewis · Pull Request #2448 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/2448)

But I don’t see any current/open topics regarding this issue. Is there a configuration option I missed, or any work-around available? (after a few rounds of tweaks, this is the last major complaint about email mode from our [die-hard mailing list user](https://discourse.slicer.org/t/email-mode-config-improvements/140)).

---

_[View the full topic](https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198)._
