similar to: default_error_messages error with attachment_fu

Displaying 20 results from an estimated 10000 matches similar to: "default_error_messages error with attachment_fu"

2007 Apr 27
3
attachment_fu content_type problem
Hi all.... Admittedly I''m new to Rails and trying to find my way but I''m having an issue with uploading documents with attachment_fu. I have a form where I''m uploading multiple attachments (using AJAX to add file_filed_tags). That seems to work pretty well. The problem is I can''t seem to get the content_type to work as I would expect. For example, if I use
2007 Dec 14
0
Calling GC.start with attachment_fu and RMagick -- where or if?
RMagick (and ImageMagick) have been criticized for memory leaks, though the problem is avoidable by timely garbage collection -- see this thread: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/edee971625603f82/e402fb95de40d54b Attachment_fu does not call GC.start in any fashion that I can see, so my questions are these: does it need to, and if so, where would be the optimal
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
Hello I am uploading images ajax-attachment_fu-rmagick and an iframe and me climb correctly, but when I finish the process and the driver will I redirect_to enc_url I recharge layer ajax. I tried with redirect_to enc_url :partial => ''m_content'' and redirect_to enc_url, :update => ''m_content''. But neither I recharge ... rhtml ------ <% form_for(photo,
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see if I could replace RMagick with ImageScience+FreeImage), but the quality of the thumbnails is just horrendous, blurred beyond recognition (downscaling a 1280x1024 to a few considerably smaller thumbnails). Changing attachment_fu to use RMagick again and the thumbnails were crispy sharp again. I was wondering
2007 Feb 14
0
mini_magick processor for attachment_fu - HELP
I have posted this here also: http://beast.caboo.se/forums/2/topics/ 823 I''m writing this for a custom application that uses attachment_fu but I thought it might interest some people here who are have problems with rmagick or image_science. rmagick is causing large memory spikes for my application and my host will not install image_science, I tried out image_science locally and the
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there, I''d like to use RMagick to watermark an image in the tmp directory before Attachment_fu saves it to Amazon S3. I took a look at the callbacks available in attachment_fu. There''s an ''after_attachment_saved'' method but this would be too late, and a ''before_thumbnail_saved'' but this is no good because it''s for thumbnails. I
2007 Mar 28
3
attachment_fu Not Resizing
Hello, Recently attachment_fu stopped resizing images for me. I''m puzzled because before today it was resizing them and I don''t know what''s changed. Here''s my code: class Product < ActiveRecord::Base has_attachment :content_type => :image, :storage => :file_system, :max_size => 18.megabytes,
2007 Aug 18
0
RSpec and acts_as_attachment
Hey guys, I''m getting a weird error when trying to test something like the following. It''s a model that is using acts_as_attachment but the weird thing is the equivalent Test::Unit case passes. Does anyone have any ideas? Best, Dave # it was a Test::Unit case first def test_should_be_invalid_without_file UserFile.any_instance.expects(:with_image).never
2007 Sep 03
0
Attachment_fu won't upload images to S3 on Windows XP?
I''ve been slugging through Google posts on why attachment_fu doesn''t want to upload the entire image file to S3 on a Windows XP machine and fine no conclusions as to what I should do? Here is a link with many suggestions. I''ve tried all of them and none work for me. http://www.ruby-forum.com/topic/99870 I try .png, .jpeg and .gif and they all simply put a ghost file up
2009 Apr 21
3
attachment_fu giving problem on production
Hello friends, I have configured attachment_f. It''s working fine on Local(development) system but giving problem on production. Basically on production the attachment_fu is not able to generate thumbnail image it saving the original size image. Below is the configuration. has_attachment :content_type => :image, :storage => :file_system, :max_size
2007 Dec 02
0
attachment_fu doesn't generate thumbnails on windows
Hi, I''m having trouble with attachment_fu on windows not generating any thumbnails on the fly. I started out trying to incorporate this into my app without success then tried implementing Mike Clarke''s tutorial (http://www.clarkware.com/cgi/blosxom/2007/02/24) and got the same problem. I have resolved some gotchas I found in the "attachment_fu on Windows" thread
2009 Mar 06
1
attachment_fu has_attachment model logic reasoning?
Both Attachment_fu and Paperclip use something like ''has_attachment'' to work their magic on an existing model like a User in the context of a profile picture or something like that. I find this idea pretty constricting, as it doesn''t allow for multiple profile pictures for example. Or at least I wouldnt know how to set this up with either of the 2 plugins. I am
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
One of our developers is getting a weird error from attachment_fu and/or rmagick on OSX. And even weirder because he''s used attachment_fu and rmagick on other projects without difficulty. This all works fine on debian/ubuntu. See the stack trace below. Any suggestions? Btw, the code that''s blowing up is retrieving the attachment_fu info. The presence of image_science in
2008 Feb 02
1
attachment_fu stopped uploading files to S3
Hey everyone, I''ve been using attachment_fu to upload large media files to S3 with great success in my rails application. However, it has recently stopped uploading. My app appears to be uploading to somewhere, as my browser is displaying a ''sending request to..." status message for about the right length of time. The records are also created in my application database.
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello, I''m working on an import utility that will match the functionality of uploading an object of a model that uses attachment_fu for thumbnailing, etc. Rather than uploading the file via a form, I want to populate the params[:image][:uploaded_data] with data from a file already on the server''s file system. So far, I''ve been able to copy to an instance of Tempfile
2007 May 07
1
attachment_fu seems to be searching the wrong location for my images
I just installed attachment_fu and for some reason, it seems to be looking in the wrong location for my images. I have a Product model that belongs to a photo model. the photo model has the attachment_fu installed and configured like so: class Photo < ActiveRecord::Base has_attachment :content_type => :image, #Allow standard image formats :path_prefix
2007 Oct 24
1
Attachment_fu and observers/emailing
Hi all, I''m developing a site where a user can upload their CV/resume with a profile, and am using restful_authentication for this with attachment_fu to handle the file uploading. When a user creates their profile/user account, I''ve got an observer that will email the site admin with a copy of the uploaded CV. My user_observer looks something like: class UserObserver <
2007 Nov 23
0
fileupload via ftp and attachment_fu
How can I use attachment_fu to store files in a MySQL database (db_file) which I uploaded via ftp in a special directory? I need to upload files - large images 25-40 MB -, so my intention ist to upload them via ftp and then use attachment_fu to strore them in a MySQL database. I had problems in uploading such files via a form - timeouts. I need them in a database because we have a very
2009 Jan 19
3
Attachment_fu: save to a default format
Hi, would anyone have any advices on the next? I allow users to upload images to my app. I''m using attachment_fu and MiniMagick. There''s two things that I''d like to do: 1- No matter what format the original file is I''d like to save it in jgp format. 2- I want to keep all images limited to say 1000px width, so resize if they are bigger. Is there a way to do
2007 Sep 09
4
Images larger than 40k uploaded with attachment_fu won't display
I have a problem displaying images when using attachment_fu. When I try to display the image, only about 40k appears in the browser, and with some images even that much is not visible (just garbage when I view source). I can display images smaller than 40k correctly. I''m storing the images in the database (mysql) and haven''t tried storing in the file system to see if that works