Sha256: cb87353a60584f1ae07c06311012719fac13a200359f7f814e8a0720c8779287

Contents?: true

Size: 328 Bytes

Versions: 22

Compression:

Stored size: 328 Bytes

Contents

module Locomotive
  module Wagon
    module Liquid
      module Filters
        module Resize

          def resize(input, resize_string)
            Locomotive::Wagon::Dragonfly.instance.resize_url(input, resize_string)
          end

        end

        ::Liquid::Template.register_filter(Resize)

      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
locomotivecms_wagon-1.5.8 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.7 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.6 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.5 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.4 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.3 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.2 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.1 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.0 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.5.0.rc1 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.4.0 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.3.3 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.3.2 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.3.1 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.3.0 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.2.2 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.2.1 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.2.0 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.1.0 lib/locomotive/wagon/liquid/filters/resize.rb
locomotivecms_wagon-1.0.2 lib/locomotive/wagon/liquid/filters/resize.rb