2011-06-20 19:05:12 +00:00
|
|
|
module Locomotive
|
|
|
|
module Liquid
|
|
|
|
module Filters
|
|
|
|
module Resize
|
|
|
|
|
|
|
|
def resize(input, resize_string)
|
|
|
|
Locomotive::Dragonfly.resize_url(input, resize_string)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
::Liquid::Template.register_filter(Resize)
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2011-11-27 08:02:20 +00:00
|
|
|
end
|