Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
1 answer
21 views

Can't make image folder static in expressjs

enter image description here my api files are under nodejs folder as well as the uploads folder to where the images are being kept. But in order to send any request I need to go to nodejs.ibnhaysam....
Suhail Habib's user avatar
0 votes
0 answers
27 views

API for saving images locally is not working

I'm trying to save an image locally with the help of multer but for some reason it's not working. All other data is saved correctly in the database, but the image is not saved locally, so naturally ...
zouker's user avatar
  • 33
0 votes
0 answers
198 views

Updating Image Upload in a MERN application

I'm trying to create CRUD operations for magazine products. Each product has a title, description, price and images. I have used multer (for the first time) to create a multi-image upload when the ...
kal94's user avatar
  • 15
1 vote
1 answer
87 views

Upload images from array of objects (Multer)

I've been struggling with how to grab the images in an array of objects that looks like this: import mongoose from "mongoose"; const prodcutSchema = new mongoose.Schema( { title: { ...
Ilias Abderrahmene Soltani's user avatar
0 votes
1 answer
3k views

Is Cloudinary free tier enough for a small e-commerce website

I'm using Cloudinary free plan to make a small website for enterprise, is free tier enough ? since they give me 25 credits per month but idk how to estimate the ,there will be about 500 people access ...
Ayakase's user avatar
  • 19
0 votes
0 answers
102 views

Upload an image from a React Native Expo App using Multer and put it into MongoDB

The React Native App based of EXPO and the connection to express server and the database is established, I want to eliminate the errors and get the data in the database. If I have forgotten any ...
Kami's user avatar
  • 1
0 votes
1 answer
58 views

Multer fileFilter is not working (it does not returns the 404 error status)

This is my file with Multer configs module.exports = (multer({ storage: multer.diskStorage({ destination: (req, file, cb) => { cb(null, './public/upload/especies') }...
Mariana Monteiro's user avatar
1 vote
0 answers
47 views

Image upload failed using multer

I am trying to upload the Image to my Images folder in the react project using axios but its not working: Backend files: Index.js const connectToMongo = require('./db'); const express = require('...
malik faraz's user avatar
0 votes
1 answer
76 views

Image is not displaying after uploading it through client and retrieving it from API

I'm currently building a React JS app that communicates with an API that I am also building with Node JS at the same time, and I am stuck on the problem of getting an image to be uploaded and be ...
antsmasher's user avatar
0 votes
1 answer
549 views

How to update image in MERN which is uploaded using Multer?

These are my all Routes : //Create a Post router.post("/", upload.single("profile"), createPost); //Read a Post router.get("/", readPost); //Delete a Post router.delete(...
Bipin Bhandari's user avatar
0 votes
0 answers
505 views

Can't display images from local server on react js

Hello i am working on a Mern stack project where i have posts and each post has its image. In the back-end i am using multer to upload images to a directory i called uploads and everything works fine ...
Ghost's user avatar
  • 326
0 votes
0 answers
145 views

Nodejs - Download Image, save to Local Disk Storage and Push to S3

I am facing facing problem to convert the raw binary data recieved from API into Image and Push to AWS S3 Problem to Solve - Convert raw data into valid image and save to disk. Click here - Response ...
Naman sanura's user avatar
0 votes
1 answer
593 views

How to download processed image from buffer in Sharp

I am taking input image using Multer into buffer multer.memoryStorage(), now I am using Sharp to change format and again sending it to buffer using .toBuffer(). I've got it to work until this part. ...
foobar's user avatar
  • 3
2 votes
2 answers
1k views

Uploading Images using Multer (works locally, but not when deployed on Heroku)

I'm a bit stuck with my blog app. It works properly when I run it locally, but when it's deployed to Heroku it seems that the images that get uploaded via Multer aren't being uploaded into my images ...
Stephanie Clark's user avatar
1 vote
0 answers
243 views

Nodejs Send json data and images together to a route and store them in mongodb

I am trying to retrieve image file and json file together from a route and save all those information in MongoDB. const petCheckoutDetails = new PetCheckoutDetails({ id: Date.now(), name: req....
Sunil Shah's user avatar
  • 1,060

15 30 50 per page