The simplest way to show images in Piisend email is to reference a public HTTPS URL in your HTML body.
Hosted images (supported today)
1. Upload your image
Host the image on your CDN, object storage, or static site. Use HTTPS and a stable URL.
2. Reference it in HTML
<p>Thanks for joining!</p> <img src="https://cdn.example.com/welcome-banner.png" alt="Welcome" width="600" />
3. Send as usual
Pass the HTML in the html field on POST /emails. No special attachment fields are required for hosted images.
Tips
- Always set
width/heightor inline styles so layout is stable in clients that block remote images initially. - Provide
alttext for accessibility. - Use your own domain or a trusted CDN—some clients flag unknown image hosts.
CID inline images (not supported yet)
Some providers let you embed images with cid: references and matching attachment content_id fields. Piisend does not support CID embedding today.
Workaround: use hosted HTTPS URLs as above.
Alternative: attach the image as a regular attachment (shown as a downloadable file, not inline in the body).
Related
- Attachments — send files with the message
- Templates — reusable HTML with image URLs