Skip to content

Add image zoom and gallery functionality #55

@idvorkin

Description

@idvorkin

Feature Request

When clicking on images in blog posts (like in ai-journal), implement:

  1. Image Zoom: Clicking an image should open a larger/zoomed version
  2. Gallery Navigation: Allow navigating between multiple images in the same post
  3. Smooth UX: Include overlay/lightbox effect with close button

Current Behavior

  • Images are static and don't respond to clicks
  • No way to view images in larger size
  • No gallery functionality for posts with multiple images

Desired Behavior

  • Click image → Opens in lightbox/modal with zoom
  • Arrow keys or buttons to navigate between images in same post
  • Click outside or ESC to close
  • Mobile-friendly touch gestures

Technical Considerations

  • Should work with existing Jekyll/Markdown image syntax
  • Minimize dependencies (consider vanilla JS or lightweight library)
  • Preserve page performance
  • Accessible (keyboard navigation, screen readers)

Examples

Similar to functionality seen on:

  • Medium articles
  • Documentation sites
  • Photo blogs

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