Bug on base64 image
-
Good morning.
I would like to point out a problem that occurs when an inside the mail content of the email to be sent is presente a base64 image like this:
<img src=”data:image/jpeg;base64,…When the placeholder ‘%%MAILCONTENT%%’ is replaced with the mail content this tag is replaced with:
<img src=”image/jpeg;base64,…
and therefore the image is no longer interpreted correctly because ‘data:’ is missing.
This happens for all image types (jpeg, png, etc.)If the template is removed using the ‘haet_mail_use_template’ filter, the image is displayed correctly.
I believe the problem is generated while replacing the placeholder with the content of the mail.
I currently use the plugin with a template saved in my theme folder, but I don’t make any changes to the mail content.
Best Regards.
- The topic ‘Bug on base64 image’ is closed to new replies.