nextcloud / nextcloud/previewgenerator
Photo Dimensions
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I just want a few sizes but it is being prepared in all versions.
For example; iOS & Android versions and thumbs for web interface enough
Commands:
occ config:app:set --value="32 64 128 1024" previewgenerator squareSizes
occ preview:pre-generate-all
Example Result:

Why is this happening?
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
Reproduce the behavior with occ config:app:set --value="32 64 128 1024" previewgenerator squareSizes followed by occ preview:pre-generate-all. Trace how the squareSizes setting is read by the preview generation entry point and compare the generated dimensions with the requested values; done means the cause is identified and generation respects the intended size configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100