MIND Platform

Gallery Management Guide

This guide explains how to add and manage images and videos on the MIND Platform gallery page.

Adding New Videos

Step 1: Upload to YouTube

  1. Upload your video to the MIND Platform YouTube channel
  2. Copy the video ID from the URL (e.g., https://www.youtube.com/watch?v=dQw4w9WgXcQ → video ID is dQw4w9WgXcQ)

Step 2: Update the Data File

Edit _data/gallery/videos.yml and either:

Option A: Replace a placeholder Find a placeholder entry like:

- title: "15.2T MRI Scanner Overview"
  description: "Tour of Canada's most powerful MRI scanner and its capabilities"
  youtube_id: "PLACEHOLDER_VIDEO_1"  # Replace this
  category: "equipment"
  date: "2025-06-01"
  duration: "TBD"  # Update this

Change to:

- title: "15.2T MRI Scanner Overview"
  description: "Tour of Canada's most powerful MRI scanner and its capabilities"
  youtube_id: "dQw4w9WgXcQ"  # Your actual YouTube video ID
  category: "equipment"
  date: "2025-06-01"
  duration: "5:30"  # Actual duration

Option B: Add a new entry Add a new video at the end of the videos: list:

- title: "Your Video Title"
  description: "Description of what the video shows"
  youtube_id: "YOUR_VIDEO_ID"
  category: "equipment|research|events|training"
  date: "YYYY-MM-DD"
  duration: "MM:SS"

Video Categories

Adding New Images

Step 1: Prepare Your Image

  1. Optimize the image for web (1-2 MB max, 1200px+ width recommended)
  2. Use a descriptive filename (e.g., mri-scanner-control-room.jpg)
  3. Choose the appropriate category

Step 2: Upload the Image

Place the image in the correct subdirectory:

assets/images/gallery/
├── equipment/     (equipment photos)
├── research/      (research visualizations)
├── events/        (event photos)
└── training/      (training materials)

Step 3: Update the Data File

Edit _data/gallery/images.yml and add a new entry:

- title: "MRI Control Room"
  description: "Control room for the 15.2T MRI scanner showing operator stations"
  image: "/assets/images/gallery/equipment/mri-scanner-control-room.jpg"
  category: "equipment"
  date: "2025-11-10"

Categories Explained

Equipment & Facilities

Research Highlights

Events & Seminars

Training & Education

Best Practices

For Videos

For Images

Testing Your Changes

After adding content:

  1. Push your changes to GitHub
  2. GitHub Pages will automatically rebuild the site (takes 2-5 minutes)
  3. Visit https://mind-western.github.io/gallery/ to see your changes
  4. Test the category filters to ensure items appear correctly
  5. Check that videos embed properly and images display in modals

Troubleshooting

Video not showing:

Image not displaying:

Category filter not working:

Regular Maintenance

Questions?

For questions about managing gallery content, contact the MIND Platform web team.