Support » Plugin: SparkPost » Embed images in emails

  • Hello.

    Is it possible to embed images in emails instead of the images being pulled from the site backend?

    If so, how? If not, can you please consider this for the future?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor rajuru

    (@rajuru)

    The images are must served from somewhere. You can embed image from a remote location. I am not sure how it’s possible otherwise.

    Thanks

    You can use C:ID method or Base64 method and embed the images in the actual email. So they get sent together, and not served from a remote location.

    See more information here: https://sendgrid.com/blog/embedding-images-emails-facts/

    Would be excellent if this plugin could also support this. Maybe an option that if the email has any images linked from the website, they can be embedded by CID or Base64 comprressed.

    Plugin Contributor rajuru

    (@rajuru)

    Right, but you can do it now. The plugin will send whatever contents are you’re passing it to. So if you’re passing contents with embedded images (as Base64), it should just work.

    Thanks for your reply!

    Yes, Base64 method works, if we encode the images ourself. But the problem is that Gmail (and maybe others) block Base64 method images from loading.

    C:ID method is better, and I think Gmail does let them show. But I think for that we need support from the plugin. Sparkpost does seem to support it: https://support.sparkpost.com/customer/portal/articles/2003491

    Plugin Contributor rajuru

    (@rajuru)

    Ok, re-reading your message I understand what you’re suggesting. It’ll be great if you post this feature request in https://github.com/SparkPost/wordpress-sparkpost/issues

    We can surely consider adding the feature if we see there is a lot of use cases.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Embed images in emails’ is closed to new replies.