Imagemagick_for

I’m having problems using imagemagick - in my controller i have

imagemagick_for ‘/data/pictures’, :cache => ‘/public/image_cache’

and in my view i have

<%= imagemagick_tag ‘pic32.jpg’, ‘resize(100x100)’ %>

But the generated html for the above is

Pic32

(newspipe is my app name)

I’ve tried putting RAILS_ROOT into the imagemagick_for path (including
the cache), but the generated html is the same - it’s as if
imagemagick_tag is ignoring the _for bit in the controller and going to
some default directory. Can anyone see what i’m doing wrong?

thanks