Uploaded photos are not shown in full size
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 119
- Forks
- 72
- Avg merge
- 18h 42m
- Merged PRs (30d)
- 24
Description
Describe the bug
Uploading an image file and viewing it in Photos does not fill all available space on screen. It's difficult to describe, screenshots are attached.
I downloaded the example Frog.jpg image, renamed it to test.jpg and uploaded it. Opening Frog.jpg shows it as expected, really big on the screen. Opening test.jpg shows it much smaller.
Original Frog.jpg:

Downloaded and uploaded as test.jpg:

To Reproduce
Steps to reproduce the behavior:
- Upload an image file
- Go to Photos
- Navigate to the image that was just uploaded
- Click on it to view
Expected behavior
Image is as big as possible on the page, leaving not much space around it.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- Fedora 35, kernel 5.16.18-200
- Google Chrome 100.0.4896.75
- Nextcloud 23 running in Docker, image nextcloud:23, updated to 23.0.3
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 issue in Photos using the attached Frog.jpg example and its uploaded test.jpg copy, then trace the viewer's image sizing and layout behavior. Done means an uploaded image and the original image both use as much available page space as possible while preserving the expected viewing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100