• Resolved shecky

    (@shecky)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Julian

    (@juliangk)

    Hello @shecky,

    unfortunately base encoded images are not supported at this time.

    Best regards
    Julian

    Thread Starter shecky

    (@shecky)

    Thanks @juliangk .

    Another question: is it possible to create different templates and associate them with different mailings?

    Plugin Support Julian

    (@juliangk)

    Hello @shecky,

    unfortunately, it is not possible to create different templates. We do have an extension for WooCommerce, which offers the possibility to change templates for different WooCommerce e-mails. But in the free version that is not possible.

    Best regards
    Julian

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug on base64 image’ is closed to new replies.