Displaying 1 result from an estimated 1 matches for "imagemagick_tag".
2005 Oct 14
0
ImageMagick helper
...magemagick''
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:
undefined method `url_for_imagemagick'' for #<ProfileController:0xb7828b14>
Extracted source (around line #1):
1: <%= im...