Metadata data deleted from uploaded images
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Add caption to a photo (live or jpeg) in photos.app of iOS by pressing on the (i) icon and pulling the picture up
- Upload the photo via Nextcloud iOS app to a folder of your choice
- Check the uploaded file in a software with metadata capability and realize, that the IPTC metdadata (like caption or title) have been deleted
Expected behaviour
No deletion of any metadata from uploaded files
Note: The expected behavior does occur when the upload happens directly from the photos.app of iOS via the integrated share option - this is not the preferred method, since it requires manual navigation to the desired folder instead of using automatic upload or choosing a Favorite via the Nextcloud app.
Actual behaviour
- As mentioned in the steps to replicate, IPTC data gets deleted.
- This affects manual and automatic uploads via the app
- It is is not depending on the compatibility settings ("Maximum compatibility" or "Live Photo" - the behavior is the same no matter what)
Screenshots
After upload via Nextcloud iOS app

After upload via sharing function to Nextcloud from iOS Photos.app

Reasoning or why should it be changed/implemented?
It seems to have been working before and there is no user intention of having metadata deleted.
Environment data
iOS version: iOS 15.1
Nextcloud iOS app version: 4.1.0.17
Server operating system: Debian 10 "Buster"
Web server: nginx
Database: mariaDB
PHP version: 8
Nextcloud version: 23.0.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upload through the Nextcloud iOS app using a photo with IPTC caption or title metadata, then compare it with the Photos.app share upload that preserves the metadata. Trace the manual and automatic upload flows and verify that compatibility settings do not change the result. Done means uploaded images retain their IPTC metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100