<p>This may be something obvious that I'm missing, but how can I make craft use absolute URLs for images add to rich text editor fields? Or use the {{siteUrl}} prior to the image src URL in order to fix the issue of images not being found. </p>

<p>Side note - Why are the images not visible within the rich text editor when added? Is this because of the relative URLs too?</p>

<p>Thanks</p>

CC BY-SA 3.0
2017-12-08T16:43:52.653Z
It's a bad practice to add or include images in a Rich Text Editor field. Instead of that please use a Asset field. If you find any problem in templating, I would be happy to help you.
hashtagerrors
CC BY-SA 3.0
2017-12-11T00:50:32.850Z
Thanks for the info :) I have since used a matrix field with varying block types for text/images which solved the layout issue of need text then image then text.
Emmanuel
<assets><richtext><siteurl>
_entry.twig in sub folder, rich text editor images using relative URL and are therefore not found
# _entry.twig in sub folder, rich text editor images using relative URL and are therefore not found

(Asked by: username_0 on 2017-12-07)

This may be something obvious that I'm missing, but how can I make craft use absolute URLs for images add to rich text editor fields? Or use the {{siteUrl}} prior to the image src URL in order to fix the issue of images not being found.

Side note - Why are the images not visible within the rich text editor when added? Is this because of the relative URLs too?

Thanks

**Tags:** assets, richtext, siteurl
> **Comments:**
> **username_1**: It's a bad practice to add or include images in a Rich Text Editor field. Instead of that please use a Asset field. If you find any problem in templating, I would be happy to help you.  
> **username_0**: Thanks for the info :) I have since used a matrix field with varying block types for text/images which solved the layout issue of need text then image then text.  

---

## 0 answers

