I did multiple image upload direct from browser using jquery file upload + cloudinary and I need to build direct delete of uploaded image also. I upload image using this file tag
<input name="file" type="file"
class="cloudinary-fileupload"
data-cloudinary-field="image_id[]"
data-form-data=" ... html-escaped JSON data ... "
multiple="multiple >
</input>
after uploading, it creates hidden field like this
<input type="hidden" name="images_id[]"
value="image/upload/v1404930923/image_name">
What I want to do is to make additional attribute on this hidden field every time I upload an image, for example "data-id". I need to delete proper hidden field when I delete file from Cloudinary direct from the browser.