publish.my

Docs / Example projects / Add images

Add images to your microsite

Logos, screenshots, photos, illustrations — drop them in, reference them, and republish to the same URL.

Where images live

Images are just files in your project folder. A common layout:

my-site/
├─ index.html
├─ styles.css
└─ images/
   ├─ logo.svg
   ├─ hero.webp
   └─ team.jpg

Reference them with relative paths from your HTML, for example <img src="images/hero.webp" alt="...">. When you publish, the whole folder goes up together, so the paths just work.

The prompt

PromptAdd the images in ./images to the microsite — use hero.webp as the banner and logo.svg in the header — then publish again to https://publish.my

Allowed image types

png, jpg / jpeg, webp, svg, gif, ico, and avif. Video (mp4 webm mov) and audio (mp3 wav ogg m4a) are welcome too.

Keep it fast

Republishing updates the same site

Adding images is just another update. Your agent uses the key it saved on first publish, so the new version goes live at the same URL — it'll confirm with you before overwriting.

Don't have the key anymore? No problem — see Getting started → Reconnect a live site. Your agent requests a confirm email sent only to the site's owner, and you're back in business.