fine-uploader

Fine Uploader with Rails form

爱⌒轻易说出口 提交于 2019-12-06 05:46:39
问题 I've recently installed Fine Uploader to our Rails app. I've read documentation and experimented a little with it, but I don't seem to understand how this thing actually works, and because of that, I'm having a lot of problems implementing it. What I did: Installed it (two ways, one "classical" and the second using the fineuploader gem, which seems to do the same). Created a coffee file containing this. $ -> uploader = new (qq.FineUploader)( debug: true element: document.getElementById('fine

Fine-uploader vs file-uploader license [closed]

微笑、不失礼 提交于 2019-12-06 01:45:19
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 clone both of these on github. My question is can I use both or one of these libraries in our of my clients projects for without getting a commercial license? Ray Nicholus Update : As of version 5.9.0 in May of 2016, Fine Uploader is now 100% Free Open Source Software, licensed under MIT

FineUploader: S3 Access Denied Response when Canned ACL value is changed

巧了我就是萌 提交于 2019-12-05 04:15:50
I have an S3 Fine Uploader implementation working great. By default, it uploads files fine but they are private. Based on FineUploader's documentation I added the objectProperties option as follows to my client-side js config for FineUploader to make the files public: objectProperties: { acl: "public-read" }, However I now get an access denied response from s3 during upload: <Error><Code>AccessDenied</Code><Message>Access Denied</Message> <RequestId>(removed)</RequestId> <HostId>(removed)</HostId> </Error> If it helps, this is my CORS Bucket Policy: <?xml version="1.0" encoding="UTF-8"?>

Error when attempting to parse xhr response text in fineUploader

别来无恙 提交于 2019-12-04 22:16:53
问题 I bay this fine-uploader version 3.3.0 now, and integration all lib in my site i think uploads make working its ok, but no! i see error my javascript console: [FineUploader] Sending upload request for 0 [FineUploader] xhr - server response received for 0 [FineUploader] responseText = and error firebug: [FineUploader] Error when attempting to parse xhr response text (SyntaxError: JSON.parse: unexpected end of data) at line error: jquery.fineuploader-3.3.0.min.js(line 148) i use params: $

Using fileuploader.js in codeigniter along with csrf in ajax

爱⌒轻易说出口 提交于 2019-12-04 19:33:54
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' => array() ) ); } //------------------------- //for file uploading $image_crud = new image_CRUD();

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

十年热恋 提交于 2019-12-04 17:51:57
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 do not work and do not increase the size of the chunk directory. Environment: LAMP, Centos 6.3. post

Error when attempting to parse xhr response text in fineUploader

拟墨画扇 提交于 2019-12-03 14:22:39
I bay this fine-uploader version 3.3.0 now, and integration all lib in my site i think uploads make working its ok, but no! i see error my javascript console: [FineUploader] Sending upload request for 0 [FineUploader] xhr - server response received for 0 [FineUploader] responseText = and error firebug: [FineUploader] Error when attempting to parse xhr response text (SyntaxError: JSON.parse: unexpected end of data) at line error: jquery.fineuploader-3.3.0.min.js(line 148) i use params: $(document).ready(function () { $('#uploader').fineUploader({ request: { endpoint: '/upload/' }, classes: {

Fine Uploader cannot draw thumbnail from amazon S3

偶尔善良 提交于 2019-12-02 07:20:25
问题 I have a form with a Fine Uploader and I am loading an initial file list (as described here) For the list of initial files I am also returning the thumbnailUrl which points to my files in Amazon's S3. Now I see that Fine Uploader is actually making an HTTP request to S3 and gets a 200 OK but the thumbnail is not displayed and this is what I see in the console: [Fine Uploader 5.1.3] Attempting to update thumbnail based on server response. [Fine Uploader 5.1.3] Problem drawing thumbnail!

Fine Uploader cannot draw thumbnail from amazon S3

馋奶兔 提交于 2019-12-02 06:03:07
I have a form with a Fine Uploader and I am loading an initial file list (as described here ) For the list of initial files I am also returning the thumbnailUrl which points to my files in Amazon's S3. Now I see that Fine Uploader is actually making an HTTP request to S3 and gets a 200 OK but the thumbnail is not displayed and this is what I see in the console: [Fine Uploader 5.1.3] Attempting to update thumbnail based on server response. [Fine Uploader 5.1.3] Problem drawing thumbnail! Response from my server: {"name": 123, "uuid": "...", "thumbnailUrl": "...."} Now Fine Uploader makes a GET

FineUploader onProgress() callback does not work for Android

不羁岁月 提交于 2019-12-02 05:04:29
问题 onProgress() callback of Fine Uploader does not work in Android devices. Here is my code: onProgress: function(id, fileName, loaded, total) { //alert('debug'); this alert shows after download is completer if (loaded < total) { progress = '"' + fileName + '" uploaded ' + Math.round(loaded / total*100) +'%'; $('#progress').html(progress); } else { $('#progress').html('saving'); } } onProgress() is called after uploading has finished. What can be problem and how to fix it? In official docs it