Having a custom name for the image.
I am using the jquery for doing the signed uploads. I tried to use the public_id in which I gave my own name. But no matter what I do, it is saving as random id. Am I missing something here ?
$('.my_file_upload').cloudinary_fileupload(
{
public_id:"vidyaroom_154321_ask123431",
resource_type: "video"
});
Please note that this is a signed upload and not an unsigned one.
-
Hi Vidyadhara,
Note that Cloudinary indeed automatically adds a short random string to the public ID to ensure uniqueness. For more information:
http://support.cloudinary.com/entries/26977753-Why-does-the-public-ID-include-additional-characters-appended-to-the-original-file-name-You can also tell Cloudinary to not add the extra string when uploading the API. For more information:
http://support.cloudinary.com/entries/25830181-How-to-upload-images-while-keeping-their-original-filenames-0
Post is closed for comments.
Comments
1 comment