Every image you (or your AI) upload is kept in your site's own storage, and pages, posts, products and emails use its address. This article covers where images go, how to find them, and how to delete them without leaving broken images behind.
Where images are stored
Your site actually has two places for files, and neither can see the other:
| Uploaded by | Stored at | Where to see it |
|---|---|---|
Your AI, with upload_media | Addresses like /storage/media/xxx.png | Only by asking your AI to run list_media |
| You, in the admin's Files | In folders, e.g. /storage/pages/…, /storage/blog/… | Admin → Business → Files |
Every site has its own separate storage. Image addresses from another site (even another site of yours) can't be used directly. Download the image first, then upload it to this site.
Where to find it
- Admin → Business → Files (same place on mobile); the page title is "Files"
- The AI image library has no admin page; just ask your AI
How to do it (step by step)
Upload, view and delete images in the admin
- Go to Admin → Business → Files
- Pick a folder at the top: Avatar, Course videos, Course attachments, Product cover, Post cover, Message attachments, Admin uploads, Page Builder. Images for pages go in "Page Builder"; blog covers go in "Post cover"
- Click "⬆️ Upload file" and choose a file. The top shows how many files the folder holds and how much space it uses
- Every file in the list can be opened; the address you see when you open it is the image address to paste into a page or post
- Deleting asks you to confirm: "This cannot be undone"
Deleting here does not check whether anything still uses the file. Make sure yourself before you delete, or wherever it was used will show a broken image.
Have your AI upload an image
Tell your AI "Upload this image and use it as the home page background". It calls upload_media, which accepts exactly one of three inputs:
- A local image: sent as base64
- An image on the web: give the image URL and the server downloads it
- A vector image: give the SVG source directly
Supported: png, jpg, webp, gif, svg, ico, up to 10MB each (SVG up to 2MB). The saved file extension follows the image's real format, not its file name. Scripts inside SVGs are removed automatically. Once uploaded, your AI gets the address and writes it into the page or post.
Have your AI list images
Say "Show me what's in the image library". It calls list_media and lists the latest 300 images with their address, size and upload time, newest first. If there are more than 300, it says so.
Have your AI delete an image
Say "Delete /storage/media/xxx.png". It calls delete_media.
Before deleting, the system first checks what uses the image. If something does, it refuses and tells you where, so you can swap in another image first and then delete. If you really want to delete it anyway, ask it to use force; those places will show a broken image.
Checked: pages, posts, products, email templates, courses, product categories, broadcast emails, every email in an email sequence, legal pages.
Not checked: communities, learning modules, lessons, webinars, live streams, podcasts, the support knowledge base, affiliate materials; also community posts, records of emails already sent, user avatars, and anything outside your site (such as a landing page you posted elsewhere). If any of these use the image, check yourself before deleting.
delete_media can only delete images in the AI image library (/storage/media/…). Files in the admin's Files have to be deleted in the admin.
Uploading from a URL failed
- 403 / access denied: the other site doesn't allow direct image downloads (hotlink protection is common). Download the image to your computer, then have your AI upload it as base64
- 404: the address no longer works or has a typo
- Another site's /storage address (especially another site on dlxai.ai): storage is separate per site, so you'll be told the file can't be found on this site. Download it first, then upload it as base64
- Not a valid image: only the formats listed above are accepted; others (such as bmp) are rejected
Notes / FAQ
- Q: Why can't I find the images my AI uploaded in the admin's Files? A: They're two separate places. AI uploads live in the AI image library; ask your AI to check with
list_media. - Q: I uploaded an image in the admin, but my AI says it's not in the library? A: Same reason.
list_mediaonly lists the AI image library. Just give your AI the file's address from the admin and it can use it. - Q: Can I embed an image straight into the page content instead of uploading it? A: Please don't. Page content written by AI is capped at 512 KB, and every save stores a full version of the page, so embedded images bloat it fast. Upload first, then use the address.
- Q: What if I give
upload_mediaboth a URL and base64? A: It's rejected and asks you to keep just one. This is on purpose, so you never think one image was saved when another actually was.
Related articles
- "Page editing: create, edit blocks, publish" (page-editor)
- "Blog: writing posts, categories and tags, publishing" (blog-posts)