nextcloud / nextcloud/cookbook
Upload image with recipe creating / update instead of selecting it from nextcloud data
@christianlupus is already working on this.
Since Jul 4, 2022.
- Dominant language
- HTML
- Stars
- 642
- Forks
- 113
- Avg merge
- 21h 31m
- Merged PRs (30d)
- 26
Description
Is your feature request related to a problem? Please describe.
I develop one of the mobile apps. I see the use-case that some people would like to create a new recipe with an image they just took / they are gone take at the moment. In this instances it would be good if the image would not need to be uploaded to nextcloud already.
Describe the solution you'd like
It would be nice if it were possible to directly upload an image with the post request to create or edit a recipe. So that instead of providing the relative path to the image on nextcloud you provide the binary data of the image and it gets saved directly into the recipe folder / or if easier in some sort of cookbook upload folder.
Describe alternatives you've considered
I could implement a 2 step recipe creation that first uploads the image and then automatically ads the path in the create / edit request.
Depends on #1126
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.
Assessment
This issue has not been assessed yet.