How to upload image in React Node and Mongo db using MULTER | Node JS + MULTER | Upload  & Retrieve

How to upload image in React Node and Mongo db using MULTER | Node JS + MULTER | Upload & Retrieve

The Debug Arena

11 месяцев назад

34,273 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ali Butt
Ali Butt - 14.09.2023 04:58

Edit api ?

Ответить
Lifepush@motivation
Lifepush@motivation - 13.09.2023 12:29

how can we my backend app name is backend and frontend app name is frontend , how can we give image folder location in backend in place of upload file .. will it work , please let me know

Ответить
Mustkeem Khokhar
Mustkeem Khokhar - 11.09.2023 10:52

bro try both axios and and browser fectch api got same api error 404 page not found.. any help

Ответить
Rajesh Ramji Banswal
Rajesh Ramji Banswal - 09.09.2023 20:00

Suppose we get image outside the project folder using API then what should I do

Ответить
Malik Bhai
Malik Bhai - 26.08.2023 15:42

bhai mere pass frontend me ja ker image save ni ho rhii..?

Ответить
Aziza Benzhirou
Aziza Benzhirou - 23.08.2023 14:44

Hello can u please help me I get stucked🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

Ответить
Malik Bhai
Malik Bhai - 18.08.2023 12:57

bro same this work with next.js full stack make video?

Ответить
Malik Bhai
Malik Bhai - 18.08.2023 08:46

sir i want to upload pdf file or video then video play and pdf file download

Ответить
Malik Bhai
Malik Bhai - 18.08.2023 08:45

thank you soo much for this video for me very helpful..lot of thanks

Ответить
meow3065
meow3065 - 09.08.2023 15:16

what will happen if i host my website will the uploads folder still contain the images for particular user or how does it work

Ответить
Pal Sih
Pal Sih - 06.08.2023 16:43

Since both Base64 image file and regular image file have data type of String in MongDB, can we display both images at the same time using the same schema?
Right now I'm able to upload both Base64 and regular filename to MongoDB using the same Schema.
It would be great if there is some codes to check if the image is stored as filename or Base64 in MongoDB and display them properly.

Ответить
Zeeshu Studio Official
Zeeshu Studio Official - 18.07.2023 14:19

I'm doing the same but it says require is not defined when I write require in my img tag.

Ответить
Ardalan Hosseini Barzanji
Ardalan Hosseini Barzanji - 11.07.2023 23:48

Pleas share source code in github repasetory

Ответить