nextcloud / nextcloud/server

Allow pasting image from clipboard to upload

Open
#37,830 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: files
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Many (if not most) modern image (ie Imgur) and cloud sites (ie DropBox) allow simply pasting an image on the clipboard to the page and it automatically uploads that image to the server.

This is extremely useful and handy for bloggers, web devs, content providers, etc. Otherwise we have to first manually save the image from clipboard to a file, then go through all the motions to select and upload that file to NC just to upload it.

Can we please "modernize" NC with this feature? i.e just navigate to a folder that we want the image to go to, then we can ctrl+v and it'll upload the image to that folder?

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 files, tests, or entry points are named. Start by locating the web upload entry point and existing upload tests, then trace how the current folder selection and file upload flow work. Done means an image pasted with Ctrl+V uploads to the currently selected folder.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
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.