Hacker News new | ask | show | jobs
by zaszrespawned 3062 days ago
Will this work in emails?

If I put this URL in img tag in a html email, the clients and browsers (if they are configured to allow external images) will this show up?

1 comments

Great question, and the answer is yes it will (this is one of the most useful features I feel). I encourage you to try and test an image with your email :). The chart endpoint responds with a raw PNG buffer and a Content-type header of image/png, so it would act just the same as if it were a static asset image in a public folder or CDN.