Skip to main content

Uploading image files to a specific folder?

Comments

1 comment

  • Michal Kuperman

    Hi Royce,

    Please include the Node.js SDK like this: cloudinary = require('cloudinary').v2 (including the v2).

    Then use this code to upload an image to the 'my_folder' folder:

    cloudinary.uploader.upload("file", 
    { folder: "my_folder" },
    function(error, result) { console.log(result, error); });

    Let us know if you need any further assistance.

     

    4

Post is closed for comments.