Displaying 3 results from an estimated 3 matches for "75x75".
Did you mean:
7575
2006 Mar 16
0
problem with file_column storing images and other files
...quot;,
}
belongs_to :product
validates_presence_of :file_name, :product_id
file_column( :file_name,
:options => {:mime_extensions => MIME_EXTENSIONS},
:magick => {:versions => {:small => {:crop => ''1:1'',
:size => "75x75"},
:medium => {:size => "150x150"} } } )
end
My problem is that when I include the :magick options hash to deal
with images, file_column doesn''t accept other types of files anymore:
only images. I figured a way around this i...
2006 Mar 02
2
url_for_file_column not returning correct path
I added this test towards the end of the included
file_column_helper_test.rb that shipped with the file_column plugin:
def test_url_for_file_column_different_root_path
Entry.file_column :image, :root_path => File.join(RAILS_ROOT,
"public/files")
e = Entry.new(:image => upload(f("skanthak.png")))
assert_match %r{/public/files/entry/image},
2004 Oct 30
1
Myst - config [x11drv] section documentation anywhere?
Hi,
I'm attempting to bring up Myst but running into some issues that
are presumably graphics related. I had thought that I'd read the
manual before I started asking questions here but found that the Wine
Configuration File page is inconveniently missing the [x11drv]
section. Is there anything written but happens to be elsewhere that I
might read?
The question I'm trying to