A good package such as intervention. Or one of the others.
There's a lot to images such as optimization proper rotation, etc.
Hi,
I want to upload multiple image file in my application, I read youtube video upload rest api module that say:
First send a request that contain meta info of image file like size, count, mime and so on with POST method and JSON body. (send image data)
And then when received the success answer, send second request and put image file and other meta parameters as key value in form-data type. (upload image)
I was used it and be ok, but when the client wants to send multiple images in this way, I can't work with it, because there may be a problem when an image is uploading and images inserted in db incorrectly.
Is there any better way to handle upload image in restful?
Please or to participate in this conversation.