Sha256: 7d0639d851f70f18b4a446df663abd274dc9343ee9abf7bae6e109cd8c6e2086

Contents?: true

Size: 272 Bytes

Versions: 26

Compression:

Stored size: 272 Bytes

Contents

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
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
locomotive_cms-2.2.3 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.2.2 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.2.1 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.2.0 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.1.4 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.1.3 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.1.2 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.1.1 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.1.0 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.3 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.2 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.1 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.0 lib/locomotive/liquid/filters/resize.rb
tribeca_cms-0.1.1 lib/locomotive/liquid/filters/resize.rb
tribeca_cms-2.0.0.rc12 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.0.rc12 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.0.rc11 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.0.rc10 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.0.rc9 lib/locomotive/liquid/filters/resize.rb
locomotive_cms-2.0.0.rc8 lib/locomotive/liquid/filters/resize.rb