Devani's media library is powered by Tonta, the media service connected during setup. Upload an image once and it's stored, converted, and delivered globally — your server never serves image traffic.
What happens on upload
- The file is uploaded straight to Tonta (your Devani admin embeds Tonta's uploader).
- Tonta generates size variants automatically — the widths your site actually uses — converted to WebP.
- The image is registered in your Devani media library with all its versions, and served from Tonta's global CDN.
Version presets
The media library page has an Upload Versions panel where you set the default widths generated for each upload. Need an extra width later (say an exact-fit 720px hero)? Devani can ask Tonta to generate a new variant from the original on demand — no re-upload.
Upload rejected? Check your Tonta limits
Maximum file size and allowed file types are account settings in Tonta, not in Devani. If an upload bounces for being too large or the wrong format, log in at dash.tonta.io to check your size cap and allowed formats — or raise them on your plan. (There's a reminder of this right under the uploader in the admin.)
Storage usage
Your Devani Settings page shows a storage meter for your Tonta account, so you can see how much of your quota is used without leaving the admin. The free tier covers 5 GB.
Good habits
- Don't pre-resize. Upload a good-quality original; Tonta handles sizes. Devani serves the appropriately-sized variant per context (e.g. card images use a card-sized version, not the original).
- Let AltText do alt text. If connected, descriptions are written automatically for every upload.
- Deleting page content never deletes files. Media records are independent of pages; remove images from the library itself when you truly want them gone.