fine-uploader

How to include Content-MD5 header in FineUploader Azure request?

▼魔方 西西 提交于 2019-12-10 10:36:46
问题 I would like to use the Content-MD5 header to supply Azure with a client-side generated MD5 hash of the files being uploaded. How would I accomplish this task in FineUploader? Target audience: Firefox, Chrome, Safari, Opera and IE10+. Judging by this answer I gather that it should be possible but at least half of our clients will run on very old (slow) computers. Is it feasible to do this client side MD5 hashing approach then? Somewhat related side question: I was also thinking that it might

How to get dimensions of the image in Fine Uploader before submitted to server and validate it?

喜夏-厌秋 提交于 2019-12-08 03:05:46
问题 I am using 5.11.10 version of Fine Uploader. I know there is a validation feature in Fine Uploader which allows to set max/min width/height of the images to be uploaded. But this is not enough for me. Because I want to set a predefined list of exact pairs of width and height values, so that if an image's dimensions match one of those predefined width and height pairs, then the image will pass the validation. I checked out onValidate and onSubmit callbacks. None of them give any information

Not able to track change in input value

本小妞迷上赌 提交于 2019-12-08 03:03:58
问题 In the template I have a input element. <input class='qq-edit-caption-selector qq-edit-caption kk-editing' placeholder='Enter Caption here ...' onkeypress='captionUpdate();'> I want to track the change in the input value,and enable the Update button.Tried below options: onkeypress='captionUpdate();' Tried jquery change or click on the class $('.qq-edit-caption').change(function() { alert('qq-edit-caption'); }); Both options does not get fired up!!not sure I have anything issues with my setup

Fine uploader, idiomatic way to add download button to each file uploaded

烂漫一生 提交于 2019-12-08 01:26:24
问题 I've successfully implemented fine uploader into my project. I'm using the addInitialFiles method to populate it with previously uploaded files. What I would like to do is add a download button to each file preview rendered, both as a user add's files and 'on load' when prepopulated using addInitialFiles. Adding the button to the mark up template is pretty trival, but I'm stuck on what the most idiomatic way would be to: Listen for the click event on the download button I've added to the

FineUploader drawThumbnail error

喜欢而已 提交于 2019-12-07 15:41:25
I'm using the FineUploader core and I'm trying to show a thumbnail of the uploaded files. In a nutshell I'm using this: this.uploader = new qq.FineUploaderBasic({ callbacks: { onSubmit: function(id, fileName) { var canvas = document.createElement('canvas'); canvas.width = 50; canvas.height = 50; $('#file-'+id+' .upload_thumbnail').html(canvas); this.drawThumbnail(id, canvas, 50, false); } } }); However, I get the following error in Firebug: ReferenceError: MegaPixImage is not defined mpImg = new MegaPixImage(fileOrBlob, megapixErrorHandler); What am I missing? Ok, I see the MegaPixImage is an

Fine-uploader vs file-uploader license [closed]

橙三吉。 提交于 2019-12-07 13:57:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Looks like both of the libraries built by Andrew Valums. They both seem to have the same license(GNU GPL v3). File-uploader can be easily downloaded but for the fine uploader I have to provide my email address to download and it would allow me to use it only for 45 days for free. As of now it seems I'm able to

How to get dimensions of the image in Fine Uploader before submitted to server and validate it?

若如初见. 提交于 2019-12-06 13:58:26
I am using 5.11.10 version of Fine Uploader . I know there is a validation feature in Fine Uploader which allows to set max/min width/height of the images to be uploaded. But this is not enough for me. Because I want to set a predefined list of exact pairs of width and height values, so that if an image's dimensions match one of those predefined width and height pairs, then the image will pass the validation. I checked out onValidate and onSubmit callbacks. None of them give any information about the dimensions. onSubmit receives the id of the image that can be used to get the file by using

Using fileuploader.js in codeigniter along with csrf in ajax

风格不统一 提交于 2019-12-06 12:23:08
问题 How do I use fileuploader.js in Codeigniter with csrf, in ajax? I am using the images_crud library http://www.web-and-development.com/image-crud-an-automatic-multiple-image-uploader-for-codeigniter/ I keep getting The action you have requested is not allowed. Added.. I have added the create method in the controller : /** * pages form */ public function create(){ if(!isset($this->data['output'])){ $this->data = array_merge($this->data, array( 'output' => '' , 'js_files' => array() , 'css_files

Fine-Uploader aborting upload with 'File is empty' error

蹲街弑〆低调 提交于 2019-12-06 10:19:41
问题 I'm using non-jQuery dependent FineUploader with the PHP example error-reporting script to upload a file. Chunking and resuming are turned on. All handling is from the PHP example scripts without any modifications. Works successfully on test files of up to ~90mb, however when attempting to upload a file of 329mb, the upload begins but then aborts with the 'File is empty' error. I can see from my chunk folder that approximately 77mb of the file was uploaded before the error. Attempts to resume

Fine uploader, idiomatic way to add download button to each file uploaded

喜夏-厌秋 提交于 2019-12-06 08:48:00
I've successfully implemented fine uploader into my project. I'm using the addInitialFiles method to populate it with previously uploaded files. What I would like to do is add a download button to each file preview rendered, both as a user add's files and 'on load' when prepopulated using addInitialFiles. Adding the button to the mark up template is pretty trival, but I'm stuck on what the most idiomatic way would be to: Listen for the click event on the download button I've added to the markup (e.g. use a fine uploader API method, or my own listener?) How I can associate the necessary