1

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

2
  • 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 Dec 8 '17 at 16:43
  • 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 Dec 11 '17 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.