similar to: attachment_fu doesn't generate thumbnails on windows

Displaying 20 results from an estimated 700 matches similar to: "attachment_fu doesn't generate thumbnails on windows"

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,
2010 Apr 24
2
problem using attachment_fu with S3
Hi, My S3 bucket is located in the US I have attachment_fu working when using file system storage I have sw-swf upload plugin working with my S3 account but I can not get attachment_fu to work with S3 storage. the error I get is : AWS::S3::RequestTimeout in Upload filesController#create Your socket connection to the server was not read from or written to within the timeout period. Idle
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything works perfectly except the thumbnail column in my DB is alwas NULL. I''m using S3 as my storage system. Anyone else having this issue with thumbnails? has_attachment :content_type => :image, :storage => :s3, :max_size => 500.kilobytes, :resize_to =>
2007 Sep 18
2
Making attachment_fu polymorphic
I am working on a small model mixin called attachment_kung to make attachment_fu polymorphic, so you no longer need a different table and Model class for every associated attachment (Productimage, Ad_doc, etc). All you really need is one model and table to handel all your attachments - in some cases, anyway. I have the code working, but have run into one small hitch that I can''t seem to
2009 May 31
3
Proposal for standardized mugshots
Hi, The first issue of the newsletter is being finalized to be released on Tuesday. For this we wanted to personalize the content a bit (and also credit contributions) by adding mugshots when we report about people and/or get contributed content. To facilitate this, we need a standard to refer to these mugshots and for this I'd like to propose the following convention for everyone who
2008 Mar 14
2
attachment_fu attributes in db
I''m using file_column for upload images. now,I want to use the plugin attachment_fu. I have seen that for use it, i must create the attributes like: class CreateMugshots < ActiveRecord::Migration def self.up create_table :mugshots do |t| t.column :parent_id, :integer t.column :content_type, :string t.column :filename, :string t.column :thumbnail,
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 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested. But, I added some code to that model that I do need to test. Basically, I need to somehow fulfill the "uploaded_data" property so I can actually run my tests(otherwise they fail because of validations). The "uploaded_data" field is what would grab the multipart data from form. Here
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
2008 Sep 25
1
Will acts_as_paranoid work with attachment_fu?
I''ve got a problem in that users are deleting a paranoid model through the application, including dependents. Some of these dependents are paranoid too, but not the attachments. (I''m using DB file storage.) I need to be able to un-delete these things and I''m now wondering if acts_as_paranoid will work with models that use attachment_fu? If so, in what model to I add the
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
Hi, Im developing an image upload using pothoven-attachment_fu (3.2.8) and aws-s3 (0.6.3). I want to store my files in Amazon S3. I follow all the instructions using attachment_fu and s3 my model has_attachment :content_type => :image, :storage => :s3, :max_size => 1.megabyte, :thumbnails => { :thumb =>
2007 Jun 29
1
attachment_fu validation error
I have this class: class Logo < ActiveRecord::Base has_one :something has_attachment :content_type => :image, :storage => :db_file, :max_size => 500.kilobytes :thumbnails => {:web => ''150x100'', :pdf => ''150x100''}, :processor =>
2007 Apr 21
3
attachment_fu thumbnails
howdy! I had the problem that attachment_fu didn''t make a thumbnail, but everything else worked. I read this post http://www.ruby-forum.com/topic/104213 and added a parent_id column. now I get the following error when I trie to add a photo: undefined method `find_or_initialize_by_thumbnail_and_parent_id'' for Photo:Class my code is: class Photo < ActiveRecord::Base
2007 Dec 06
0
saving the user id for thumbnails using attachment_fu
I am using attachment_fu to create thumbnails, and it is working great. However, I am have a view with all my users thumbnails displayed and am trying to make it so when you click on a thumbnail of their avatar, it shows that users profile. In order to accomplish this I have saved a user_id identifier for each avatar, but the problem is that attachment_fu only saves this user_id for the main
2007 Apr 17
1
attachment_fu - propagating attributes to thumbnails
I have a model using attachment_fu (via has_attachment) and I''m creating thumbnails for the attached images. I have an extra field ''foo'' that I''m validating on create with validates_presence_of :foo. One problem arises when I upload an image: The ''foo'' is not propogating down to the thumbnails. What should I put in my model to grab the
2008 May 09
0
Attachment_Fu : how to remove thumbnails only and regenerate
hello guys i am using attachment_fu for product images i have hundreds of products and their images with thumbnails :thumbnails => { :thumb => ''100x100>'' } now we have decided to have thumbnails of size 50x50> only. how do i destroy the existing thumbnails for images and regenerate the new thumbnails i shud be doing something like this product_images.find(:all)
2009 Jan 24
0
reprocess attachment_fu thumbnails with ImageMagick edits
I''m trying to modify product images when a user marks a product as "sold" and I am able to modify the original image file successfully, but when I try to reprocess the thumbnails, my ImageMagick modifications don''t stick. Here is what I''ve got going so far: def before_save if self.sold_changed? && self.sold? for photo in self.photos
2007 May 05
0
acts_as_attachment - no thumbnails?
the full-size pics upload OK, but no thumbs or resizing. There are no errors or exceptions that I can see, just not getting any thumbnails. The DB column ''thumbnail'' is always NULL rmagick-1.15.6 is freshly installed. I have the :thumbnails stuff setup per http://weblog.techno-weenie.net/articles/acts_as_attachment/thumbnailing using a model like this: class EventPic
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
2008 May 28
1
Attachment_fu, polymorphism and customization
Hi, I got Image model that has_attachment and belongs_to 2 other models via polymorphic association. The problem is that I''d like to customize has_attachment options (resize image) depending on which model the Image is related to - i.e. if Image belongs to Article it should be resized using different settings than if it belongs to Header. Is there a smart way to do it or do I have to