Displaying 1 result from an estimated 1 matches for "imagemagick_for".
2005 Oct 14
0
ImageMagick helper
...er by Gijs van Tulder, I''ve run into a
bit of a problem.
In environment.rb, I placed: require_gem ''actionpack-imagemagick''
I''ve set up my controller as such:
class ProfileController < ApplicationController
# ..SNIP..
class Photo < ApplicationController
imagemagick_for ''/home/howardroberts/documents/pics/''
end
end
Then in views/profile/photo.rhtml I put:
<%= imagemagick_tag ''image1.jpg'', ''resize(100x100)'' %>
This produces the error:
showing /app/views/profile/photo.rhtml where line #1 raised:
undefin...