Add background image to email template - without having it stripped when saved

Hi
Our customers need sophisticated email campaigns which include having background images in their templates.

Whenever we add a background image to an email template it gets stripped when it is saved.

Anyone found a workaround?

Thanks,
Jack

The stripping is due to the HTML Purifier function being added to the editor.

Please see below discussion regarding solution to your problem.

https://suitecrm.com/forum/feedback/14487-bug-html-template-editor-removes-html-suitecrm-7-9-0#48475

Solution to creating email templates with background images.

Using the design program of your choice do the following:
For table background: add the below code within the table you want a background image to display

For page background:add the below code

Using phpMyAdmin navigate to the SQL database with the email template you wish to edit.

Click on the database instance in the left column. A list in the right column will display.

Scroll down to email templates and click on it. All the email templates will display in a list.

Click on the template you want to edit. Go to the body_html section and replace the data in the right side window.

Click Go (and select Go Back To This Page) which will save the changes.

Go to CRM instance and view the template. If needed make changes in your design program and repeat the process until satisfactory results are obtained. at the process until satisfactory results are obtained.

Note hhtp:// was scrubbed from the file path

The goal is to be able to create a sophisticated up to date email template.
We are able to create an email template with a background image using the the Direct HTML editor. The email template displays correctly after being saved. The email template is then incorporated into a Campaign and sent.
The problem is the system will not allow the email to be sent. It stays in the email queue. We checked the error log and there wasn’t an error recorded.
Anyone with any suggestions? That would be greatly appreciated.