Skip to content

[Proposal] Photo Gallery and Advanced Search Extensions #304

@paul43210

Description

@paul43210

Summary

I'd like to propose two new web extensions for inclusion in this repository:

  1. web-app-photos - A photo gallery extension with timeline view, EXIF metadata display, map view, and lightbox
  2. web-app-advanced-search - An advanced search interface with photo metadata filters (camera, date range, GPS, etc.)

Background

I've been building these extensions for my personal oCIS deployment and have also submitted a backend PR (owncloud/ocis#11912) that adds photo EXIF metadata indexing to Bleve search. The extensions work together to provide a comprehensive photo management experience.

web-app-photos Features

  • Timeline View: Photos grouped by capture date (EXIF takenDateTime), with infinite scroll loading backwards from today
  • EXIF Metadata Panel: Display camera make/model, aperture, ISO, focal length, exposure time
  • Map View: Interactive Leaflet map showing photo locations from GPS coordinates, with marker clustering
  • Lightbox: Full-size image viewer with keyboard navigation and swipe gestures
  • File Type Support: jpg, jpeg, png, gif, webp, heic

Tech Stack: Vue 3 Composition API, TypeScript, Leaflet.js

web-app-advanced-search Features

  • Photo Metadata Filters: Search by camera make/model, date range, aperture, ISO
  • Filter Chips: Visual representation of active filters with easy removal
  • Search History: Remembers recent searches
  • Statistics Panel: Shows search result breakdown by file type

Tech Stack: Vue 3 Composition API, TypeScript

Dependencies

The photo metadata search features depend on backend changes in PR #11912.

Questions for Maintainers

  1. Interest Level: Is this something you'd want in web-extensions, or would you prefer these remain as independent repos?

  2. Naming: I'm proposing web-app-photos and web-app-advanced-search. Are these names appropriate, or would you prefer alternatives?

  3. Scope: Should these be two separate extensions, or would you prefer them combined into one?

  4. License: My current repos use Apache-2.0, but I notice web-extensions uses AGPL-3.0. I'm happy to relicense under AGPL-3.0 for contribution.

  5. Backend Dependency: The full photo search functionality requires feat(search): Add photo EXIF metadata to search index and WebDAV resultsFeature/photo metadata search ocis#11912. Should I wait for that to merge before submitting PRs here?

Current State

Both extensions are functional and deployed on my personal oCIS instance. They follow oCIS web extension conventions (AMD module format, manifest.json, etc.). Source code is available at:

Screenshots

Image Image Image Image Image

Next Steps

???

Looking forward to your feedback!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions