Embed images inline

Created on 17 February 2016, about 9 years ago
Updated 2 August 2022, over 2 years ago

I need to let WYSIWYG-edited newsletters sent by Simplenews embed inline images.

These do not automatically get the "image:" prefex in the body field. Hence, the images does not get embedded in the HTML email. Most often, the images are inserted without protocol and domain, like "/sites/default/files/inline-images/image.jpg".

I've made a little patch to make this happen. But I am not sure if I am missing out some way of doing this a bit more easy?

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇩🇰Denmark bjaxelsen

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024