Adding Images to Your SOP Documentation
This guide explains how to add pictures, diagrams, screenshots, and other visual content to your SOP documentation.
π Image Directory Structure
Your SOP system supports images in two main locations:
1. Global Images Directory (/images/)
images/
βββ diagrams/ # System diagrams, architecture charts
βββ screenshots/ # Application screenshots, UI elements
βββ flowcharts/ # Process flowcharts
βββ [other-folders]/ # Custom categories
2. Vault Images Directory (/vault/images/)
vault/
βββ images/ # Images specific to vault content
βββ Operations/
βββ Emergency/
βββ templates/
πΌοΈ How to Add Images
Method 1: Using Global Images Directory
-
Add your image file to the appropriate subfolder in
/images/:images/screenshots/login-screen.png images/diagrams/network-topology.jpg images/flowcharts/incident-response.svg -
Reference in markdown using:
  
Method 2: Using Vault Images Directory
-
Add your image file to
/vault/images/:vault/images/emergency-contacts.png vault/images/server-room-layout.jpg -
Reference in markdown using:
 
Method 3: Co-located Images
You can also place images directly in the same folder as your markdown files:
vault/Operations/
βββ Daily System Health Check.md
βββ server-status-example.png
Then reference with:
π¨ Supported Image Formats
- JPEG/JPG (
.jpg,.jpeg) - Best for photographs - PNG (
.png) - Best for screenshots, diagrams with transparency - SVG (
.svg) - Best for scalable graphics, logos - GIF (
.gif) - For simple animations - WebP (
.webp) - Modern format with better compression - BMP (
.bmp) - Basic bitmap format - TIFF (
.tiff) - High quality format
π Markdown Image Syntax
Basic Image
Image with Title (tooltip)
Image with Custom Size (HTML)
<img src="/images/diagrams/architecture.png" alt="System Architecture" width="600" height="400">Image with Caption

*Figure 1: Main system dashboard showing key metrics*Linked Image
[](/images/full-size.png)π― Best Practices
File Organization
- Use descriptive filenames:
login-process-flowchart.pnginstead ofimage1.png - Create logical folders based on content type or SOP category
- Keep consistent naming conventions across your documentation
Image Optimization
- Compress images to reduce file sizes and improve loading times
- Use appropriate formats:
- PNG for screenshots and images with text
- JPEG for photographs
- SVG for diagrams and icons
- Consider image dimensions - most SOPs work well with 800px width max
Accessibility
- Always include meaningful alt text describing the image content
- Use descriptive captions for complex diagrams
- Ensure sufficient contrast in screenshots and diagrams
File Size Guidelines
- Screenshots: Keep under 500KB
- Diagrams: Keep under 200KB
- Photos: Keep under 1MB
- Icons: Keep under 50KB
π Example Usage in SOPs
Emergency Procedures
# Server Room Fire Emergency
## Evacuation Route

*Follow the highlighted path to the nearest emergency exit*
## Fire Suppression Controls
System Operations
# Database Backup Verification
## Step 1: Access Backup Dashboard

## Step 2: Verify Backup Status
Look for the green checkmarks as shown below:
<img src="/images/screenshots/backup-status.png" alt="Backup Status" width="400">Process Flowcharts
# Incident Response Protocol
## Decision Flow

*This flowchart guides you through the complete incident response process*π§ Technical Details
Image Caching
- Images are cached for 24 hours to improve performance
- Clear browser cache if you update an image and donβt see changes
Image URLs
- Global images:
http://localhost:8000/images/[subfolder]/[filename] - Vault images:
http://localhost:8000/vault/images/[filename] - Co-located images: Relative path from the markdown file
Troubleshooting
Image not showing?
- Check the file path is correct
- Verify the file exists in the expected location
- Ensure the file extension is supported
- Check browser console for any errors
Image too large?
- Use HTML
<img>tag with width/height attributes - Optimize the image file size
- Consider using thumbnails that link to full-size images
π Quick Reference
| Task | Markdown Syntax | Example |
|---|---|---|
| Basic image |  |  |
| Image with title |  |  |
| Sized image | <img src="path" width="300"> | <img src="/images/diagram.png" width="300"> |
| Linked image | [](full) | [](/images/full.jpg) |
π‘ Tip: Start with screenshots and simple diagrams, then expand to more complex visual content as your SOP library grows.