Gallery Instructions
How to Add Images to the Gallery
There are two ways to add images to your gallery:
Method 1: Using Page Resources (Recommended)
- Create an
imagesfolder inside thecontent/gallerydirectory - Add your images to this folder
- The gallery template will automatically display all images in this folder
Example structure:
content/
gallery/
_index.md
images/
photo1.jpg
photo2.jpg
photo3.jpg
Method 2: Using Static Files
- Add your images to the
static/gallerydirectory - Update the gallery template to include these images
Example structure:
static/
gallery/
sample1.jpg
sample2.jpg
sample3.jpg
Image Recommendations
- Use high-quality images with a consistent aspect ratio (3:2 recommended)
- Optimize images for web (compress them to reduce file size)
- Use descriptive filenames
On This Page