/images/gallery/
βββ 2026/
β βββ festival-apr-04/ # Lunar 3/18 Birthday (Apr 4, 2026)
β βββ festival-jul-05/ # Lunar 6/22 Attainment Day (Jul 5, 2026)
β βββ workshop-spring/ # Teaching sessions and workshops
β βββ guojiao-ceremony/ # Initiation ceremonies
β βββ community-gathering/ # Community events and lineage meetings
βββ 2027/ # Future year folders
βββ README.md # This file
Image Specifications:
altar-setup-01.jpg, master-teaching-02.jpgIMG_1234.JPG, photo (1).jpgImage Optimization Tools:
# Resize to 1200px width and compress
magick mogrify -resize 1200x -quality 85 *.jpg
Remove EXIF Metadata (Privacy):
exiftool -all= *.jpg (removes all metadata)Place images in the appropriate event folder:
2026/festival-apr-04/ or festival-jul-05/2026/workshop-spring/2026/guojiao-ceremony/2026/community-gathering/Create new folders as needed for different events.
Open /gallery-data.js and add entries for each new image:
{
id: "festival-apr-04-2026-01",
src: "images/gallery/2026/festival-apr-04/altar-setup-01.jpg",
caption: "ε
壬δ»εΈ«θͺθΎ°ζ₯ - Liuren Immortal Master Birthday celebration at Fuying Hall",
captionZh: "ε
壬δ»εΈ«θͺθΎ°ζ₯ζ
Άη₯ - δΌθ±ι€¨δΎε₯η₯ε£",
date: "2026-04-04",
category: "festival",
event: "Lunar 3/18 Birthday"
},
Field Descriptions:
id: Unique identifier (event-date-number)src: Path to image filecaption: English descriptioncaptionZh: Chinese description (optional but recommended)date: YYYY-MM-DD formatcategory: One of: festival, ceremony, workshop, communityevent: Event name/titleUsing Git command line:
# Navigate to project folder
cd path/to/Liuren
# Add new images
git add images/gallery/2026/
# Update metadata file
git add gallery-data.js
# Commit with descriptive message
git commit -m "Add photos from Festival Apr 4 2026"
# Push to GitHub
git push
Using GitHub Desktop:
After pushing, wait 1-2 minutes for GitHub Pages to rebuild, then visit:
https://your-site.github.io/gallery.htmlhttps://your-site.github.io/gallery.html?category=festivalTo add watermarks to images before upload:
magick composite -gravity southeast watermark.png photo.jpg output.jpg
# Check folder size
du -sh images/gallery/
# Check total repo size
du -sh .git/
When starting a new year:
# Create 2027 folder structure
mkdir -p images/gallery/2027/{festival,workshop,ceremony,community}
# Or create specific event folders
mkdir -p images/gallery/2027/festival-mar-24
gallery-data.js matches actual locationgit pullFor questions about photo gallery management:
Last updated: December 2025