nextcloud / nextcloud/server

Extract more info from exif to store on server

Open
#39,697 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: dav feature: previews and thumbnails
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Right now we only extract size (width/height) and gps.
While reading exif data, we could store way more to show on clients, without having them to download entire image:
https://www.php.net/manual/en/function.exif-read-data.php

Alongside two other ideas

  • store exif header in thumbnails/resized images so that clients can treat any image (original, thumbnail, resized image) with exif data
  • make webdav property more generic, as we have right now two properties and with above we might end up with 10 different file_metadata_xyz properties

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing server-side EXIF extraction for width, height, and GPS, then compare it with the fields available from PHP's exif_read_data documentation. Clarify which metadata should be stored, how it should be exposed to clients, whether resized images must retain EXIF headers, and whether WebDAV properties should be generalized. Done means the scope and metadata representation are agreed before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.