Get cloudinary image as file object and upload again with different public_id


1 comment

  • Avatar
    Itay Taragano

    Hi Wang,

    You can simply pass the URL of the image to the upload request, something like:

    var photo=""+currentPostId+".jpg"


    Cloudinary.upload(photo, {public_id: postProperties._id}, function(err, res) {



    Please let us know if it works for you?

    Comment actions Permalink

Please sign in to leave a comment.