Adding Images
Use this workflow for every documentation image so pages render correctly in production without committing large media files to Git.
Why Images Are Managed Separately
- Documentation images are stored in a local project root
imgdirectory, not in markdown folders. - The
img/contentpath is gitignored, so image files are not committed to this repository. - You must upload images to live separately via SFTP.
This keeps the git repository lean while still allowing documentation pages to reference production-hosted assets.
Required Folder Structure
If img does not exist at the project root, create it.
Store images under:
/img/content/<client>/<site>/<filename>
Examples:
/img/content/scottsdale-mint/fishbowl/fb-product-sync.png
/img/content/gsm-outdoors/middleware/order-flow-diagram.webp
Markdown Syntax
Always use pathname:// as the image URL prefix:

Real example:

Authoring Standards
- Use descriptive, human-readable alt text. Describe what the image shows and why it matters.
- Use lowercase, hyphenated filenames.
- Keep images scoped to the correct client and site path.
- Prefer compressed formats (
.webp, optimized.png) when quality allows.
Upload Workflow
- Save the image locally to
/img/content/<client>/<site>/. - Reference it in markdown with
pathname:///img/content/.... - Upload the same file to live via SFTP, preserving the same path.
- Run
npm run buildto confirm docs compile. - Verify the page on live after deployment.
Common Mistakes
- Using
/static/img/...paths for content screenshots. - Omitting the
pathname://prefix. - Uploading to a different client/site directory than the markdown reference.
- Assuming images are in git because markdown files were committed.