Image Guidelines for Bible Guide Site
This guide explains how to add and use images throughout the Bible Guide site.
๐ Where to Store Imagesโ
All images should be placed in the /static/img/ directory. The structure is:
static/
โโโ img/
โ โโโ books/ # Book-related images (covers, illustrations)
โ โโโ maps/ # Biblical maps and geographic content
โ โโโ timelines/ # Historical timeline graphics
โ โโโ diagrams/ # Study diagrams and charts
โ โโโ general/ # General site images
๐ผ๏ธ Using Images in Markdownโ
Basic Image Syntaxโ

Image with Titleโ

Responsive Imagesโ
For better mobile experience, use HTML with responsive classes:
<img
src="/img/books/genesis-creation.jpg"
alt="The Garden of Eden"
style={{maxWidth: '100%', height: 'auto'}}
/>
๐ Recommended Image Specificationsโ
File Formatsโ
- Photos/Complex images: JPG (optimized for web, 80-90% quality)
- Graphics/Diagrams: PNG (for transparency or sharp lines)
- Simple graphics: SVG (scalable, smallest file size)
- Animations: WebP or GIF (use sparingly)
Image Dimensionsโ
- Hero images: 1920ร1080px (16:9 ratio)
- Feature cards: 800ร600px (4:3 ratio)
- Book covers: 400ร600px (2:3 ratio)
- Maps: 1200ร800px minimum
- Diagrams: 1000ร700px typical
- Thumbnails: 300ร200px
File Size Guidelinesโ
- Keep individual images under 500KB when possible
- Optimize images before uploading using tools like:
- TinyPNG - PNG/JPG compression
- Squoosh - Modern image optimization
- ImageOptim - Mac application
๐จ Using Images in MDX Componentsโ
Import and Displayโ
import useBaseUrl from '@docusaurus/useBaseUrl';
<img
src={useBaseUrl('/img/books/genesis-creation.jpg')}
alt="Creation narrative"
style={{borderRadius: '8px', marginBottom: '1rem'}}
/>
Image with Captionโ
<figure style={{textAlign: 'center'}}>
<img
src={useBaseUrl('/img/maps/ancient-israel.jpg')}
alt="Map of Ancient Israel"
style={{maxWidth: '100%', borderRadius: '8px'}}
/>
<figcaption style={{
marginTop: '0.5rem',
fontSize: '0.875rem',
color: 'var(--ifm-color-emphasis-600)'
}}>
Ancient Israel during the United Monarchy (1050-930 BC)
</figcaption>
</figure>
๐ Examples for Bible Guide Contentโ
Book Overview Imagesโ
Add a representative image to book overview pages:
---
id: 01-genesis
title: Genesis
---

# Genesis
<BookMetadataCard bookPath="/old-testament/01-genesis" />
Timeline Imagesโ
## Historical Timeline

Map Referencesโ
## Geographic Context
The book of Joshua describes the conquest of Canaan:

Study Diagramsโ
## The Tabernacle Structure

The Tabernacle had three main sections...
โ ๏ธ Copyright and Licensingโ
Public Domain Resourcesโ
- Images created before 1928 (in US public domain)
- Works explicitly released to public domain
- Your own original artwork or photography
Creative Commonsโ
When using CC-licensed images:
- Always check the specific license (CC0, CC-BY, CC-BY-SA, etc.)
- Provide attribution when required
- Follow share-alike requirements if applicable
Recommended Sourcesโ
- Unsplash - Free high-quality photos (CC0)
- Wikimedia Commons - Public domain and CC images
- The Digital Bible Society - Biblical content
- Bible Mapper - Biblical maps
Attribution Formatโ
When attribution is required, add it below the image:

*Photo by [Photographer Name](link) / [License](license-link)*
๐ฏ Best Practicesโ
Accessibilityโ
- Always include alt text that describes the image content
- Alt text should be descriptive for screen readers
- Decorative images can use empty alt:
alt=""
Performanceโ
- Optimize images before uploading
- Use appropriate image dimensions (don't upload 5MB originals)
- Consider lazy loading for image-heavy pages
- Use modern formats (WebP) with JPG/PNG fallbacks
Mobile Considerationsโ
- Test images on mobile devices
- Ensure text in images is readable on small screens
- Consider providing mobile-optimized versions for large images
Dark Modeโ
- Test images in both light and dark themes
- Consider providing theme-specific versions if needed:
import useBaseUrl from '@docusaurus/useBaseUrl';
import {useColorMode} from '@docusaurus/theme-common';
const {colorMode} = useColorMode();
const imageSrc = colorMode === 'dark'
? '/img/diagram-dark.png'
: '/img/diagram-light.png';
<img src={useBaseUrl(imageSrc)} alt="Diagram" />
๐ Image Naming Conventionsโ
Use clear, descriptive filenames:
โ
Good:
- genesis-creation-narrative.jpg
- exodus-route-map.png
- tabernacle-diagram.svg
- david-timeline.jpg
โ Avoid:
- img001.jpg
- photo.png
- screenshot.jpg
- image-final-final-v2.jpg
๐ง Adding Images to Componentsโ
Homepage Hero Backgroundโ
To add a hero background image:
/* In styles.module.css */
.hero {
background-image: url('/img/backgrounds/hero-bible.jpg');
background-size: cover;
background-position: center;
}
Feature Card Iconsโ
Replace emoji icons with custom images:
<div className={styles.featureIcon}>
<img
src={useBaseUrl('/img/icons/study-bible.svg')}
alt=""
width="56"
height="56"
/>
</div>
๐ Resourcesโ
Remember: Always ensure you have the right to use any images you add to the site. When in doubt, create your own or use verified public domain sources.