Skip to content

Upload image with recipe creating / update instead of selecting it from nextcloud data #727

@Teifun2

Description

@Teifun2

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

Metadata

Metadata

Labels

BackendIssue or PR related to the backend codedependentenhancementNew feature or requestphpPull requests that update Php code

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions