Displaying 20 results from an estimated 1000 matches similar to: "Rmagick/File Column Problems"
2006 Jun 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it
says:
A TypeError occurred in [controller]#[action]:
can''t convert Magick::GravityType into Integer
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
Any advice? Here''s the backtrace:
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
2006 Mar 15
1
file_column imagemagick strangeness
Hi,
I''m using the basic magick features of file_column,
and while files are uploading fine without the magick options, as soon as I do something like
:magick => { :size => "400x600" }
I get an ''invalid file'' error.
Further investigation reveals that the file is in fact invalid because something somewhere is truncating the file path:
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 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 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!"
}
},
2006 Oct 18
4
Segmentation bug - file_column?
Hi there everybody,
We''re having mongrel processes slowly die on us, with a segmentation
fault. I''ve seen a few other people mention similar issues. Any info
or suggestions would be nice:
Error:
/var/www/apps/heritage/current/config/../vendor/plugins/file_column/
lib/magick_file_column.rb:7: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]
Server:
2006 Jun 05
1
file_column & RMagick
Hi,
I have a site where I wish to upload a resize a picture, and store it in
the file system. The best solution that I have found for this so far is
using file_column. This was working great, for about an hour, but all of
the sudden I began to get the following error (only when i attempt to
resize).
NameError (undefined method `assoc'' for class `Magick::ImageList''):
2005 Dec 19
3
RMagick Resizing Issue
Hello ~
I have RMagick and file_column working in RoR. In my model I am setting up
some standard sizes for the submitted photos. The photo files are created
and named correctly, but the sizes are wrong. Only the second argument of
my geometry call is used, with the width dimension being resized
proportionately.
file_column :image, :magick => { :versions => { "medium" =>
2006 Jul 19
0
Magick::GravityType Error
Trying to get an app up and running using file_column on Dreamhost, I
run into this error on submitting an image to upload:
can''t convert Magick::GravityType into Integer
#{RAILS_ROOT}/vendor/plugins/file_column/lib/magick_file_column.rb:90:in
`crop''
...
I half thought I found the hosting provider specific error in googling
and finding this thread:
2005 Oct 09
6
Problem With url_for_file_column/file_column
I am using the very helpful file_column extension in my app.
The uploading portion works great - no problems.
Where I am having an issue is displaying the images in my view. My code
looks like this:
<% for @record in @main_box_releases -%>
<%= image_tag(url_for_file_column("record", "record_cover")) %>
<% end -%
@record is an instance of a class called
2006 Jul 21
1
setting image resolution with Rmagick
Hi
Has anyone had success with setting image resolution with Rmagick.
I am resizing an uploaded image with Rmagick, problem is it keeps the
original images resolution and I want to change it to 72dpi.
<<<<<< code example >>>>>>>>>>
# these are the various techniques I have tried when and after reading
the file, trying any or all of them does
2006 May 01
3
RMagick question ?
I have a file rmg.rb:
require ''RMagick''
include Magick
cat = ImageList.new("prod.jpg")
cat.display
exit
The file prod.jpg is in the same directory as this file above.
I execute the following:
ruby rmg.rb
I get the following output:
/usr/lib/ruby/1.8/RMagick.rb:1377:in `read'': unable to open image `'': No
such file or directory:
2006 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The
deployment machine (Fedora Core 5) can''t find RMagick unless I change
the "require" syntax from that used on the dev machine (OS X). And the
dev machine doesn''t like the syntax that works on the deployment server!
To wit:
[OS X]
$ script/console
Loading development environment.
>> require_gem
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads
are working fine.
However, when I try and use the :magick options to make resized
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
file_column :media_item,
:magick => {
:versions => {
:thumb => {:size =>
2007 May 16
1
Rails, Mongrel and Rmagick
i have a rails app with a form that allows uploading an image file. I take
the image file and read it into rmagick to verify that it''s an image. For
some reason I can''t catch an exception thrown by rmagick inside the app.
After an invalid image file is uploaded the process just hangs. I have to
kill mongrel and restart to use the app again.
img =
2009 Jul 03
5
Can't install RMagick due to MagickWand problems
Hello,
I''m trying to install/update rmagick on a Debian machine using:
gem install --local rmagick-2.10.0.gem
and get following error:
/usr/local/bin/ruby extconf.rb install --local rmagick-2.10.0.gem
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... yes
Warning: Found more than one ImageMagick installation. This could cause
problems at
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m
looking around at the libraries available to do this sort of thing and
there are three that look promising.
ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html
Mini-Magick -- http://rubyforge.org/projects/mini-magick/
RMagick -- http://rmagick.rubyforge.org/
It looks like a lot of people are
2006 Jun 30
3
gem Rmagick install problem on Linux
I get the following error when I try to install Rmagic (via gem) on
Linux. Do I need to install anyting before installing rmagic? This
worked seamlessly on windows. What the best way to install it on Linux.
I am on RedHat ES 3. /thanks
-thila
Attempting local installation of ''rmagick''
Local gem file not found: rmagick*.gem
Attempting remote installation of
2006 Feb 03
3
File_column and rmagick options
Hi,
Currently I''m using the file_column plugin to upload images and save
multiple copies of each at 3 different resoltions:
file_column :name, :magick => {
:versions => { "thumb96" => "96x150>", "medium250" =>
"250x400>", "large480" => "480X640>" }
}
I am wondering if
2010 Oct 13
1
Installation of rmagick --version '>= 2.13.1' on CENTOS
I have successfully installed the following components in my centos
server:
Ruby 1.8.7
Rails 2.3.8
Gem 1.3.7
paperclip --version ''>= 2.3.3''
will_paginate --version ''>= 2.3.15''
tlsmail --version ''>= 0.0.1''
but facing problem at the time of installation of
rmagick --version ''>= 2.13.1''
When I go for