Skip to content

Add an image gallery to the site (Astro) #1

Description

@Skalas

Goal

Add a photo/image gallery to the site, now built on Astro (the original 2015 plan targeted a Jekyll gallery plugin, which no longer applies after the migration).

Approach

  • Build the gallery natively in Astro rather than via a Jekyll plugin.
  • Options to evaluate:
    • A static gallery page using Astro's <Image /> / astro:assets for optimization.
    • An off-the-shelf lightbox (e.g. PhotoSwipe / a lightbox component) for full-screen viewing.
    • Source images from src/assets or public/, with thumbnails generated at build time.

Tasks

  • Decide on gallery layout (grid + lightbox).
  • Create a gallery page/route.
  • Wire up image optimization via astro:assets.
  • Add initial set of images.

Historical references (Jekyll, now obsolete):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions