Best practices for naming, uploading, and optimizing images.
You can upload images in two ways:
No software needed! Upload directly on GitHub.com:
entries/projects/your-project/ or entries/news/your-news/Add images for [Entry Name]Tips:
.md fileIf editing locally with VS Code:
.md fileSee Code Editor Setup for local editing.
Use descriptive, lowercase names with hyphens:
✅ Good:
header.jpgthumb.jpg01-exterior-view.jpg02-interior-space.jpgdetail-closeup.jpg❌ Bad:
IMG_1234.jpg (not descriptive)photo (1).jpg (has spaces and parentheses)FINAL VERSION 2.jpg (capitals, spaces)new_image.jpg (underscores instead of hyphens)The system looks for these special names first:
header.jpg or header.png - Preferred main thumbnail (used on the index and project pages)thumb.jpg or thumb.png - Alternative thumbnail namefeatured.jpg or featured.png - Homepage-only image (see below)If neither header nor thumb exists, the system will use the first image it finds alphabetically.
If a project has featured: true in its frontmatter, it appears in the Featured Projects section on the homepage. By default it uses header.jpg. To show a different image on the homepage without changing the main header, add a featured.jpg to the project folder:
featured.jpg is used only on the homepage Featured Projects sectionheader.jpg continues to be used on the project detail page and in the indexfeatured.jpg does not appear in the project's photo galleryheader.jpg if no featured.jpg existsentries/projects/my-project/
├── my-project.md
├── header.jpg ← Used on index, project page, and as fallback on homepage
├── featured.jpg ← Used only in the homepage Featured Projects section
└── 01-exterior.jpg ← Gallery image
Use these file naming prefixes:
| Prefix | Purpose | Example |
|---|---|---|
00_, 01_, etc. | Gallery photos (numbered for sort order) | 00_Exterior view.jpg |
drawing- | Floor plans and architectural drawings | drawing-plan_1.jpg |
toolkit- | Reference files (CAD, PDF, DWG) | toolkit-framing-plan.dwg |
Gallery images in alphabetical order:
00_exterior-view.jpg
01_interior-space.jpg
02_detail-shot.jpg
03_community-area.jpg
The numbers keep them in order; the descriptions help you identify them. Note the underscore (_) in numbered filenames, which ensures proper alphabetical sort order.
Projects:
entries/projects/casa-marianella/
├── casa-marianella.md
├── header.jpg ← Thumbnail
├── 01-exterior.jpg ← Gallery image
└── 02-interior.jpg ← Gallery image
News/Awards/etc:
entries/awards/emerging-voices/
├── emerging-voices.md
└── thumb.jpg ← Optional thumbnail
Never put images:
_site/ (auto-generated)_includes/ or assets/✅ Supported:
.jpg / .jpeg - Photos (recommended).png - Graphics with transparencyThe system automatically creates optimized versions in:
Your original files remain untouched.
Use JPG for:
Use PNG for:
The system automatically resizes and optimizes images. However:
Recommended:
Minimum:
Maximum:
The system handles these automatically:
Before uploading, you can:
But: The automatic system is good enough for most cases!
All images in a project folder (except header.*, thumb.*, and featured.*) are added to the gallery.
Example:
entries/projects/my-project/
├── my-project.md
├── header.jpg ← Thumbnail (not in gallery)
├── 01-wide-view.jpg ← Gallery image 1
├── 02-entrance.jpg ← Gallery image 2
├── 03-interior.jpg ← Gallery image 3
└── 04-detail.jpg ← Gallery image 4
The gallery displays in alphabetical order (that's why numbers help).
News, awards, features, etc. only use one image:
entries/news/studio-expansion/
├── studio-expansion.md
└── thumb.jpg ← Shows in index
Additional images in the folder won't break anything, but they won't appear anywhere.
Check:
.jpg, .png).md fileCheck:
header.* or thumb.* files? (delete extras)header.jpg or thumb.jpg?Solutions:
Solutions:
Do:
exterior-north-view.jpg01-, 02-, 03-Don't:
IMG_1234.jpgmy image.jpgphoto#1.jpgDo:
header.jpgDon't:
Do:
Don't:
| Task | How To Do It |
|---|---|
| Add thumbnail for project | Name it header.jpg, put in project folder |
| Add gallery images | Name them 01-name.jpg, 02-name.jpg, etc. |
| Add thumbnail for news | Name it thumb.jpg, put in news folder |
| Change thumbnail | Rename/replace header.jpg or thumb.jpg |
| Use a different image on the homepage | Name it featured.jpg, put in project folder (requires featured: true) |
| Remove image from gallery | Delete the file or rename to start with header, thumb, or featured |
| Reorder gallery | Rename files to change alphabetical order |
entries/projects/casa-marianella/
├── casa-marianella.md
├── header.jpg ← Index thumbnail (1920x1080, 800KB)
├── 01-site-view.jpg ← Gallery (2400x1600, 1.2MB)
├── 02-entrance.jpg ← Gallery (2400x1600, 900KB)
├── 03-common-area.jpg ← Gallery (2400x1600, 1.1MB)
├── 04-bedroom.jpg ← Gallery (2400x1600, 850KB)
└── 05-exterior-detail.jpg ← Gallery (2400x1600, 1.0MB)
Result:
header.jpg appears in the comprehensive indexSee Image Problems for specific image issues.