DocsWebsites
Images and files
Add images, PDFs, fonts and videos to your website by attaching them in chat or pointing at a public link.
Getting an image onto a website usually means resizing it, compressing it, uploading it and hoping it looks right on a phone. Here you attach the file in your chat. Your agent converts it to a fast web format, places it on the page and checks the crop.
See it in action
Ask your agent this.
Use the photo I attached as the hero on my about page. Crop it wide, keep the faces in frame and write a short description for screen readers.
It answers with something like this.
Your photo is the hero on the about page, cropped wide with everyone in frame.
- Resized so it loads fast on phones
- Description reads The Acme team outside the Portland office
Use the photo I attached as the hero on my about page. Crop it wide, keep the faces in frame and write a short description for screen readers.
Received your filecreate_upload
Started a changestart_change
Added your fileimport_file
Made the editsedit_files
Looked at the pagescreenshot_page
Built a previewpreview_change
Your photo is the hero on the about page, cropped wide with everyone in frame.
- Resized so it loads fast on phones
- Description reads The Acme team outside the Portland office
What happens
- You attach the file in your chat or give a public URL.
- Your agent adds it to the change. Images are converted to a web format and scaled down.
- It places the image on the page and builds a preview.
What to check
- The image is sharp on a large screen and loads fast on a phone.
- The image has a description for screen readers.
Attaching files in Claude
Claude needs one setting turned on before it can send your attachments to Sherpa. See Let Claude send images and files to Sherpa. If it is off, Claude tells you what to turn on.
What you can add
| File | What happens |
|---|---|
| Photos and screenshots | Converted to a web format and scaled to at most 2400 pixels wide, unless you ask otherwise |
| SVGs and logos | Added unchanged |
| PDFs | Added unchanged, ready to link as a download |
| Fonts | Added unchanged |
| Videos | Added unchanged |
Any file can be up to 25 MB.
Good to know
From a link
Give your agent a public URL and it fetches the file for you. That is the quickest way to bring in a logo from a press kit or an image from your old site.
iPhone photos
Sherpa cannot read HEIC photos directly. Your agent converts them to JPEG first, so you do not need to do anything.
Images for CMS content
Images used in blog posts and other collections go in the CMS image library. See CMS images.
Common questions
How do I add an image to my website?
Attach it in your chat or give a public link. Your agent converts it to a fast web format, places it on the page and checks the crop.
Can I add files that are not images?
Yes. PDFs, fonts, logos and videos work the same way.
Why can Claude not send my attachment?
Claude needs one setting turned on first. See Connect Claude.
Example prompts
Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.
The request from the example
Use the photo I attached as the hero on my about page. Crop it wide, keep the faces in frame and write a short description for screen readers.
It covers the three things that go wrong with images, the crop, the subject and the description.
The download button
Add this PDF as a download on my resources page, with a button that says Download the guide.
Naming the button text saves a round of edits.
The logo swap
Replace the logo in the header with the SVG I attached. Keep it the same height as the old one.
Giving a size reference stops the header from jumping.
The diet
Find the largest images on my website and make them smaller without changing how they look.
Heavy images are the most common reason a page is slow, and your agent can find them all at once.
For agents
Sherpa MCP tools for this job, in the order they are usually called. create_upload, import_file, edit_files, preview_change. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the MCP reference.