Displaying 20 results from an estimated 40000 matches similar to: "Image upload memory problem"
2012 Nov 27
1
multiple file upload to amazon s3 using jquery file upload rails app
Hi All,
I am a newbie. I am
following http://railscasts.com/episodes/383-uploading-to-amazon-s3?view=comments
to upload file.
I am able to upload single file with carrierwave.
But I got 403(Forbidden) error when I try to upload multiple files using
jquery file upload.
When I try to upload single/multiple file I get alert box saying failed to
upload and in console it says "Failed to
2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
Hey ROR users,
I have a small experimental web app which is for uploading files. The
web app uses carrierwave, uploadify. It works fine on small size
files. However, it can not handle large size files (>1G) efficiently.
Then I decided using nginx upload module, it worked well on small size
files after modification of codes,. But It fails on uploading large
files (>1G) because of http error
2013 Sep 19
0
Performance problem generating URL for thousands of images, due to hitting HDD for each one
Hi,
I have a model where I''m using Carrierwave to let users upload their
avatars. I have one version for the avatar, cropped to a square called
"cropped".
class User
mount_uploader :avatar, AvatarUploader
end
class AvatarUploader < ImageUploader
version :cropped do
process :crop
end
end
In one of my pages, where I''m listing a few thousand users,
2013 Jun 21
0
Carrierwave large file optimization
Carrierwave documentation includes this tip for uploading large files. Inside your uploader, add these two methods (they say)
def move_to_cache
true
end
def move_to_store
true
end
to make the uploads work more efficiently. This is true, it does work -- as long as you aren''t trying to do anything with versions or other processing. If you do, then the upload will only ever
2012 Aug 29
2
Carrierwave Direct and additional form elements
I just switched a project from Dragonfly to Carrierwave, specifically to see if I could take advantage of Carrierwave Direct, which uploads large files directly to S3 or another cloud storage.
I was able to make a form containing a single file field that would upload to S3. What I could not work out was how to upload the file to S3 AND other form elements to the model that had Carrierwave
2013 Feb 26
1
Store files with carrierwave to remote server (may be via ssh/scp)?
Im setting up production environment where all static content separated
from web application server. I need to store all carrierwave powered
content to another server, but by default carrierwave include only :file
(for local files) and :fog (for cloud CDN) store support. How I can do that?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2013 Jan 25
4
store pdf directly to amazon
Hello Everyone,
I am using wicked pdf and rails 3.2.8.
I can generate pdf (html to pdf).
How can i store my pdf file into amazon s3 without storing in *Local.*
*
*
*Please help*
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2013 Jan 07
9
Devise Admin View password
Hi Everyone
i am using devise for authentication for my app.
Is there any way, Admin user can view other users password as normal string.
Without storing there password as string in database?
Please advise.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 May 22
1
How do you crop an image with carrierwave 'after the fact' in rails?
What I''d like to do is upload an image, then take the user to a new
page where I will use Jcrop to let the user select the part of the
image they want to crop, and then store that image. Essentially, I
want to make it a 2-stage process.
I know how to do the javascript part, and I understand the basic flow
of how to create this functionality. However, I am not aware of the
carrierwave
2013 Feb 04
3
Wicked pdf
Hello Guys
I am using rails 3.2.8 and wickedpdf.
Its working well in local but not in production.Below is the production
logs error.
"***************\"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf\"
-q \"file:///tmp/wicked_pdf_9892_0.html\"
\"/tmp/wicked_pdf_generated_file_9892_0.pdf\" ***************"
RuntimeError: Failed to
2013 Feb 07
11
Rails change default time zone.
Hello everyone,
I am using rails 3.2.8.
I want to change time zone to New York time.
I changed following, but didn''t work
#config/application.rb
config.time_zone = ''Eastern Time (US & Canada)''
config.active_record.default_timezone = ''Eastern Time (US & Canada)''
If am wrong please clarify.
Thank You!
--
You received this message
2011 Mar 11
12
A file-upload suddenly seems to be nil
Hi there,
I posted this issue
<https://groups.google.com/forum/?hl=de#!topic/carrierwave/ergk9LaO68k>at
the carrierwave-group, but I''m beginning to think this rather is a
rails-issue than a problem with carrierwave. The problem''s this:
I have 2 models, ''article'' and ''upload''. article has_many :uploads. In my
article_controller i
2012 Sep 25
1
Show thumbnail preview of image before upload
Is there any ruby way to show thumbnail preview of image before upload?
Using below javascript, I can achieve this
window.URL = window.URL || window.webkitURL;
var fileElem = document.getElementById("fileElem");
function handleFiles(files) {
var img = document.getElementById("image-preview");
if (!files.length) {
img.src =
2013 Jan 31
1
WickedPdf error in production
Hello everyone,
I am using rails -v 3.2.8.
I am using wickedpdf to generate pdf. Its working well in my local machine.
But its not working in production server.
ompleted 500 Internal Server Error in 4443ms
RuntimeError (Failed to execute:
"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf" -q
"file:///tmp/wicked_pdf_5855_0.html"
2013 Jan 23
1
Need to change jquery version in my rails project
Hello everyone,
Currently my rails 3.2.8 project loading jquery 1.9.0
In this jquery 1.9.0 live() method not working.
How can i change loading jquery version?
Please help.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Dec 21
0
Cannot upload using CKEditor and Carrierwave, Rails 3.1
Uploading files won''t work properly for me in CKEditor. The file does
get saved but looking at the parameters there is no authenticity token
sent by CKeditor. So I get a "Can''t verify CSRF authenticity" warning,
which resets the session, then I can''t update the post.
The token is set in the form but CKEditor doesn''t seem to send it for
picture or file
2011 May 17
2
Can't dump File ... when uploading files
I am getting this error on the redirect_to command ...
I am using Rails 3 w Paperclip to upload files ( but I tried also
CarrierWave .. same error)
I tried to change the session store from cookie-based to database ..
same error
I tried to delete the params content ...
I don''t know what to try next .. any clue ?
thanks
erwin
--
You received this message because you are subscribed to
2012 Sep 11
1
setup git in my godaddy server
Hello everyone,
I know this is not correct place to ask this question but please help if
you know
As mentioned some tutorial, i install git version 1.7.3.4 in home directory
(/var/chroot/home/content/xx/xxxxxxx/git).
then I initialize git repository by git init --bare in my samplerepo.git
then i add code in .bashrc file as follow
export GIT_BIN=${HOME}/git
export
2011 Nov 29
2
image with Content-Type: text/html;
i have images such as this
http://www.cairo360.com/resource.servlet?path=event/6178/event_standard_6178_20112111_542213373.jpeg
its Content-Type: text/html;
"carrierwave" dosent recognize it as image
is there is any way to fix that ?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"