Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,149,829 members, 7,806,329 topics. Date: Tuesday, 23 April 2024 at 02:51 PM |
Nairaland Forum / Science/Technology / Programming / How Can I Post Multiple Files Using Multer In Node Js (767 Views)
I Have This Annoying Bug In Node Js For The Past 5 Days..help / File Upload With Multer In Node.js And Express / Image Upload In Mongodb And Nodejs With Multer Doesn't Work After Hosting The Ap (2) (3) (4)
How Can I Post Multiple Files Using Multer In Node Js by ricson11(m): 9:07pm On Apr 18, 2020 |
Have been trying to post multiple files using multer but is not going but single file is working using upload. single () but the array or any is not working. |
Re: How Can I Post Multiple Files Using Multer In Node Js by talk2hb1(m): 8:15am On Apr 19, 2020 |
ricson11:Were you able to get the array of files? If yes then loop through the array off files |
Re: How Can I Post Multiple Files Using Multer In Node Js by ricson11(m): 1:57am On Apr 20, 2020 |
talk2hb1: I was able to but is not showing in my index page . <img src="{{images}}" /> this is how I rendered it in my frontend the images is my input file name but still not showing but a single upload is showing I don't know why even the upload.fields() too is not showing but when I console log it I will see them and also when I upload they will show in the upload folder but not showing in html page |
Re: How Can I Post Multiple Files Using Multer In Node Js by talk2hb1(m): 12:41pm On Apr 20, 2020 |
ricson11:Why not try upload it to your local server, if you can upload it to your local server then you should be able to upload it to cloudinary. |
Re: How Can I Post Multiple Files Using Multer In Node Js by ricson11(m): 8:01am On Apr 21, 2020 |
talk2hb1: yes the problem that is not showing in the frontend but a single file is showing when uploaded. |
Re: How Can I Post Multiple Files Using Multer In Node Js by ricson11(m): 8:04am On Apr 21, 2020 |
talk2hb1: I don't understand they are successfully showing in the uploaded folder in my local server but not showing in the frontend so I don't know if I upload it to cloudinary whether they will show or not |
(1) (Reply)
List Of Programming Languages To Learn In This Year 2020 / Complete Qrcode Payment System - Flutter / One On One
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14 |