nextcloud / nextcloud/previewgenerator

Photo Dimensions

Open
#109 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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:

untitled

Why is this happening?

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.