nextcloud / nextcloud/text

Auto-scale embedded images

Open
#8,774 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Use Case

Embedded images seem not to be scaled automatically. Also the frame around it is in a fixed ratio, which wastes a lot of space when embedding very wide images (like screenshots).

Proposal
  • Automatically scale images, so that the whole image is visible.
  • Automatically adjust the frame around the embedded image
  • Extra: I think the visible frame line is unnecessary and not looking very good and could be removed. Frameless embedded pictures combine with the background much more nicely.

Related issue, going further, asking for the image to be freely scalable by the user: #4556

Examples
Nextcloud right now (wide screenshot with visible frame)
Image

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

No file or test is named in the issue. Start by locating the embedded-image implementation and reviewing issue #4556 for related scope; done means images show fully, their frame fits the image rather than using a fixed ratio, and the frame treatment is decided and covered by the relevant editor behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.