similar to: file_column create image on fly

Displaying 20 results from an estimated 90000 matches similar to: "file_column create image on fly"

2006 Feb 14
0
RoR BSD setup, file_column / Rmagick "invalid image"
So ive recently finished up my first RoR application and made sure it all worked right on the windows machine i developed it on. then deployed it on GeekISP.com which runs Open/Free BSD. I had to jump through a few little hoops to get it working and set the permissions for file_column to create directories, but it still doesnt work right. When i go to add a new item to the database and try
2006 Feb 27
0
File_Column: Saving image dimentions in database
I''ve been using file_column for a while and it''s the best thing since sliced bread. But there''s one thing that it doesn''t do that seems like it''d be a pretty useful feature. For an app I''m working on I really need to know the dimensions of the store image in my view (and in general it''s always good to have the dimensions in your
2006 Jun 20
0
file_column Trying to Create Thumbnails of Non-Image Files??
Howdy. We use the handy file_column plug-in in some of our apps. We have a model with a file field and we upload both images and non-images into this field. It is specified as follows: file_column :file_uri, :magick => {:versions => {:thumbnail => {:size => ''200x''}}} Well, it works great for images but for non-images, the save fails. The root cause is an
2006 Feb 15
0
file_column / Rmagick "invalid image" when image is valid
So I''ve recently finished up my first RoR application and made sure it all worked right on the windows machine i developed it on. then deployed it on GeekISP.com which runs Open/Free BSD. I had to jump through a few little hoops to get it working and set the permissions for rails to create directories, but it still doesnt work right. When i go to add a new item to the database and try
2006 Jan 25
0
file_column and image attributes
Hi, I have included the use of file_column in my app and it works great. I noticed that by default this plugin doesn''t account for image width and height attributes. I take it that most developers using this plugin are simply not recording or outputting this meta data so that the browser is basing the page rendering on the actual sizes of the embedded images rather than width
2006 Jan 08
0
Creating versions with file_column but only if file is image
I would like to create versions of images uploaded to a model that has a file_column but only if the file is a image. file_column :file, :magick => { :versions => {"thumb" => "64x64"}} If I upload a txt file this will give me an error of "File invalid image". Any idears? -- Posted via http://www.ruby-forum.com/.
2006 Feb 17
0
file_column generating random empty images
Hi all, I emailed Sebastian awhile back about this, but I know he is busy, so I''m asking for your help. I''m using the latest version of file_column from SVN, or the non-SVN version (doesn''t matter), but on some files, file_column will create 0kb files. The tmp directory will contain the correct file size, and I copied the temp over the 0kb file, and then it
2006 Mar 16
0
problem with file_column storing images and other files
I have a model called ProductFiles which associates an arbitrary amount of image and documents with a product. I am using the file_column plugin to manage the upload and storage of the images, like so: class ProductFile < ActiveRecord::Base # Accepted MIME types, mime types that are not part of this list are rejected MIME_EXTENSIONS = { "image/gif" => "gif",
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the time of uploading images i have trouble, i get "uninitialized constant ArtImage" error and other errors, im following the instructions on http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt seems to work, this its the code im using: #----view <%=
2006 Mar 08
3
file_column Cropping -> image offset information
Hello, I had a problem cropping images with file_column. These are my settings: file_column :image, :magick => { :versions => { :thumb => "80x80>", :medium => "150x150>", :square => { :crop => "1:1", :size => "50x50!" } },
2007 Nov 20
3
How to rename image file before saving it using file_column?
Hello, I''m playing with the file_column plugin and I would like to rename the file when uploading it and before saving it to DB. I''ve tried it with before_create method in my model and also in the controller with the following code: @picture = Picture.new(params[:picture]) @picture.filename = ''newname'' Which doesn''t worked. How it could be done (if
2006 Apr 27
3
LoginEngine File_column interop
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Hello all, I hope someone can help me with this issue, I have the SVN file_column and using LoginEngine/UserEngine with Rails 1.1.2. My issue is that I''m overloading the view for LoginEngine to support a file image upload as part of the user record and having a heck of a time doing so. Near the bottom of my new _edit.rhtml
2006 May 18
0
file_column - filtering uploaded file type and storing image size?
Sorry, more newby FC questions! I would like to use one file upload field to upload both PDFs and images. The images are in the listing_images table and PDFs are in the listing_pdfs table - both have a one-to-many relationship with listings. How do I do this? For listing_images, I would like to store the width and height of the image so I can produce valid xhtml image tags. I can''t
2006 Jan 05
1
File_column image validation
Hello, Is it possible to enforce minimum image size and other validations using file_column? if so does anybody have some examples. I have looked at Kyle''s file_column extension and I saw that it enforces format''s (jpg,pdf etc) but nothing for size. Thanks! Sunder -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 16
4
file_column :: changing image with object.update
Dear all, file_column now works fine with object.save i.e., it updates my database field with the correct image file name and places the image file into the correct public folder. However, I cannot get file_column to work the same way with object.update when trying to change image. It only updates my field with the image file name. However, the new image is not copied into the correct
2006 Jul 10
2
File_Column error msg "Image location invalid image"
I got a strange problem. My image upload worked fine in my XP. However after deploying to Linux, I am not able to upload images from XP machine - I get "Image location invalid image" error message. However, I am able to upload images from linux boxes. Can anyone tell me what would cause this problem? Is there any setting in file_column that are specific to the deployment server os?
2006 Apr 08
5
file_column
hello, how to generate new image if i do add new version? For example, I add version :small => { :size => "320x240" } . How to tell file_column to generate new image version if image is allready uploaded ? Thank you! -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
0
file_column and adding/changing :versions
I''m using file_column 0.3.1 and I recently installed RMagick on my machines, so I''m adding the :versions resizing functionality to my models. I quickly noticed that resized versions are only being created for newly uploaded images, and that no magicked versions get created for existing images. I thought file_column would be smart enough to generate :versions as needed. Has
2006 May 24
3
delete image through plugin file_column ?
how can i delete image through plugin file_column? -- Posted via http://www.ruby-forum.com/.
2006 Jan 11
0
File_column : how can I resize/convert/whatever an image according to form-submitted values?
Hi guys, I want to have a file upload form which would allow the user to ask for certain transformations of the image before saving it - most importantly, to resize it. Now, how can I make an instance of FileColumn enabled model process these imagemagick instructions? My model looks looks somewhat like : class Image < ActiveRecord::Base attr_accessor :resize_dimension, :resize_to