Displaying 2 results from an estimated 2 matches for "80x80".
Did you mean:
0x80
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!"
}
},
:geometry => "400x300>"
}
With a square thumbnail i had the...
2006 Feb 16
1
file_column problem
...t get the file_column plugin to work. Probably something stupid
I am doing wrong as I am pretty much a newbie...
1. I added a varchar column to my table called "image"
2. This is my class:
class User < ActiveRecord::Base
file_column :image, :magick => { :geometry => "80x80>" }
attr_accessor :new_password
... rest of class
3. In my controller I have the following code:
# loads up the form
def yourpic
@user = User.new(session[:user])
end
# handles the form
def updateyourpic
@user = User.new(@params[:user])
redirect_to :action => &...