James,
I take it you are using the "ImageMagick for Rails" plugin from here? If so, first of all, you will have to add "include ActionView::Helpers::ImageMagickMacroHelper" to app/helpers/application_helper.rb, so it becomes:
module ApplicationHelper
include ActionView::Helpers::ImageMagickMacroHelper
end
In the templates, you call the plugin functions like this:
{{ 'first_photo.jpg' | imagemagick_tag }}
However, this returns an error in the plugin. So, you'll have to edit vendor/plugins/imagemagick_tag/lib/image_magick_macro_helper.rb, around line 124, to read:
def imagemagick_controller(options)
options[:controller] ? (options[:controller].camelize + "Controller").constantize.new : @context.registers[:controller]
end
This should make the plugin work correctly with Liquid and Chameleon. To use the tag you gave in your post, you'd write:
{{ 'first_photo.jpg' | imagemagick_tag: 'resize(100x100)' }}
If this wouldn't work, let me know.
JW