Auto-scale embedded images
Open
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)
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
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