Questions tagged [jquery-fileupload-rails]

40 questions
4
votes
3 answers

Large AWS uploads failing after random amount of time

With Rails, I've followed this Heroku article to allow direct file uploading to an S3 Bucket. I actually followed this article because my previous implementation wasn't working for multipart uploads (so, large files). Once I implemented this method…
4
votes
2 answers

Rails 4 + Carrierwave + jQuery File Upload + Nested Form Multiple File Issue

I am having a slight issue with a rails app I am working on. I am utilizing Carrierwave, Nested_form, Simple_form, and Jquery-file-upload gems. The majority of everything is working fine, with the exception of the data. I have two models, a Project…
3
votes
1 answer

Is it a good practice to send base64 image over params in Rails?

I have one form_for for saving NewsItems (something like posts). Each news item should have one cover image, title, short text... The image should appear as a preview before the form is filled and there should be some loader that shows the progress…
3
votes
1 answer

Large file getting uploaded multiple times in jquery file upload

I have a referred the example for jquery file upload and created a demo app which works fine and i am able to upload files well. but the same integration i did in another application and it is not working properly the difference here is just that…
3
votes
3 answers

How to resize images client side using jquery file upload

I am using blueimp jquery-file-upload in a Rails 3.2 app, via the jquery-fileupload-rails gem. I am trying to resize images on the client side prior to uploading, but am having trouble following the documentation. My code is below. Currently…
2
votes
0 answers

Rails 4 Jquery File Upload ProcessQueue Error with Resize Image

I am trying to upload multiple size versions of a single file directly to AWS S3 with the Jquery File Upload gem. This code uploads correctly the file passed to the input: $('#file_upload').find("input:file").each(function(i, elem) { var fileInput…
2
votes
3 answers

How to make JQuery file upload plugin call backend only once for all the files in an upload?

I'm using sails.js to build a website. I have a model named timeline. It has some text fields along with a collection named pictures. Each timeline can have multiple pictures. I want to update all these fields at once when user clicks save. I'm…
2
votes
2 answers

Rails - resize image before upload to s3

I am using the s3_direct_upload gem to upload images to s3 with Rails. This gem is based on this Railscast and uses jQuery-file-upload. It is working well. I would now like to resize my images before uploading them. A fork was created for a way to…
2
votes
0 answers

jQuery blueimp fileupload send only file params without other formdata

I have a form in which i user jQuery file uploader My form contains lot of other fields other than the profile picture the user uploads. I want to upload the profile picture by sending only profile picture parameters alone with ajax and show user…
1
vote
2 answers

jquery fileupload rails s3 shrine image upload error

I am sort of new to rails and I am trying to upload images directly to S3 with Shrine. I got direct uploads to S3 to work perfectly, however, when I introduced jquery file upload and upload an image, chrome console throws this error at me. I'm not…
1
vote
0 answers

CarrierWave + rails 4.2 + jquery file upload + progress bar

I do not found any tutorial for Rails 4, jQuery File Upload + Progress Bar. Someone can i help me? I need to upload a file(.xml), store it in my disc and show to the user the progress bar. How can i do it? I'm trying do it since last week. :[
1
vote
1 answer

Uploading files using remote:true and remotipart + carrierwave gems

I want to make remote file upload via remotipart + carrierwave. The problem is that my upload works, but it seems that it is uploaded as usual html. Or it is uploaded via ajax, but appropriate js file is not called. I have a form_for with…
yerassyl
  • 2,958
  • 6
  • 42
  • 68
1
vote
3 answers

ajax doesn't respond - create.js.erb

I'm working with jquery-file-upload-rails gem to upload multiple images with preview on my form. File upload is working, but the partial with new photos renders only after browser refresh! Maybe, someone can see, what is wrong. I'm calling file…
Dair
  • 77
  • 1
  • 7
1
vote
1 answer

CDF V2 Document, No summary info. while using paperclip

Content type not recognizing while uploading files using paperclip + jquery file upload. Throwing below error "content type discovered from file command: CDF V2 Document, No summary info. See documentation to allow this combination" fail to upload…
1
vote
0 answers

Triple nested form multiple image upload using jquery and carrierwave

I'm following this tutorial - http://alagram.github.io/blog/2013/11/04/uploading-multiple-files-with-carrierwave-and-a-nested-form/ And receive this error: TypeError at /products no implicit conversion of String into Integer Better errors…
1
2 3