This support forum is no longer in use. Please use the Cloudinary Community at to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

How do I rename the public id on upload using Nodejs and upload_stream?


1 comment

  • Avatar
    Itay Taragano

    You can set the public ID to be whatever you want by using the  public_id  parameter while uploading

    function(buffer, filename, done) {
    var stream = cloudinary.uploader.upload_stream(function(result) { done(result) }, {public_id: "my_picture"});

    Comment actions Permalink

Post is closed for comments.