Images Directory
Images Directory
This directory contains images used throughout the blog.
Structure
/posts/- Images used in blog posts- Root level - Site-wide images (logo, favicon, etc.)
Usage in Posts
Basic Image

Image with Caption

*Caption text goes here*
Best Practices
- Naming Convention: Use descriptive, kebab-case names
- Good:
architecture-diagram-v2.png - Bad:
IMG_1234.png
- Good:
- Organization: Store post images in
/posts/subdirectory- Optionally create subfolders per post:
/posts/2026-02-08-post-name/
- Optionally create subfolders per post:
- File Formats:
- Use PNG for diagrams, screenshots, images with transparency
- Use JPG for photos
- Use WebP for optimized images (when supported)
- Use SVG for icons and simple graphics
- File Size: Optimize images before uploading
- Aim for under 500KB per image
- Use tools like ImageOptim, TinyPNG, or squoosh.app
- Accessibility: Always include descriptive alt text