# Add images and fonts to a template workspace
URL: https://samva.dev/changelog/add-images-and-fonts-to-a-template-workspace
> Add PNG, JPEG, GIF, WebP, and WOFF2 files to a template draft from the editor, CLI, or SDK. They're committed on the next Save.
- Published: 2026-09-26
- Tags: templates, cli, sdk

Add a logo, a hero image, or a custom font to a template without leaving your workflow. You can drop files into the dashboard editor, ask the template assistant, or add them from the CLI or SDK.

```bash
samva templates workspace add-asset tmpl_abc123 ./hero.png
```

The file waits with your unsaved changes and is committed on your next Save. PNG, JPEG, GIF, WebP, and WOFF2 files up to 1 MiB work. Files land in `assets/` by default, and you pass `--replace` to overwrite one that exists.

SDK users call `templates.putWorkspaceAsset` with the file as base64.

## Links

- [CLI](/docs/developers/cli)

## Related

- [Publish several emails from one template project](/changelog/publish-several-emails-from-one-template-project)
- [Set your brand once and use it in every template](/changelog/set-your-brand-once-and-use-it-in-every-template)
- [All changelog entries](/changelog)
