lookback / meteor-emails

Improved Meteor emails with templating, previews and automated CSS/SCSS inlining.

Home Page:https://atmospherejs.com/lookback/emails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to include images from assets (public/private) in an email template?

satyavh opened this issue · comments

Can't figure this out (except hosting externally). Any tips?

@satyavh Just reference them by their absolute path. You can use the built-in template helper baseUrl for that: http://lookback.github.io/meteor-emails/docs/emails.html#section-6:

<img src="{{ baseUrl '/images/image.png' }}">

Aha, thanks a lot for that.