Crazylife's avatar

How to store the images with C:\fakepath?

I am using file-preview-with-upload plugin, but i am having issue on storing the images that passed form jquery to store in my storage folder.

I get the value $request->avatar, it returns C:\fakepath\1....., while $requst->file('avatar') return null value.

How can i store the image uploaded in my storage folder?

0 likes
1 reply
rahulkhimsuriya's avatar

@crazylife what i think is you're returning value of that input you've to return a file and make sure that you're using multi-part form.

Please or to participate in this conversation.