DEV Community

Discussion on: Image Upload to Cloudinary with Nodejs and Dotenv

Collapse
 
ebereplenty profile image
NJOKU SAMSON EBERE

Hey Dimer, you are sending in an object containing the file details instead of just sending in the path to the image in you local machine.

Check out this dev.to/ebereplenty/cloudinary-and-....

Collapse
 
ebereplenty profile image
NJOKU SAMSON EBERE

The path is supposed to read: "c:/nam/folder/.../file_name.extension" and cloudinary will take it from there