nextcloud / nextcloud/previewgenerator

Question: what preview sizes are used in different apps?

Open
#502 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
520
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Hi,

In the documentation it is suggested that preview generation can be limited to specific sizes. This is useful as we can avoid generating sizes that are not needed, or at least rarely used. NC will generate ok demand any sizes anyway.

So to help me (and other users) it would be great if we could make a list of sizes used by, or required by various apps and situations.

For example the Recognize app requires 1024px previews. Other apps need different sizes depending on list or grid mode, but also the device size and orientation (portrait/landscape mode)

List of apps with different sized previews:

  • NC Android/IOS App
    • list mode
    • grid mode
  • Memories App
    • portrait mode
    • landscape mode
  • WebUI - for both mobile and desktop browsers
    • Files list mode
    • Files grid mode
    • Photos app
    • Memories app
  • ...

Here are some. Examples:
Screenshot_20240806_170640_Opera
Screenshot_20240806_170348_Opera
Screenshot_20240806_170241_Memories
Screenshot_20240806_170222_Memories
Screenshot_20240806_170121_Nextcloud
Screenshot_20240806_170048_Nextcloud

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 with the linked documentation section about limiting preview sizes, then investigate the listed Nextcloud apps and usage modes to determine which preview sizes they use or require. Document the findings for the Android/iOS apps, Memories, and WebUI, including relevant device and layout differences; done means the documentation provides a useful size list for configuring generation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.