Sha256: cc8d6ecb83f6a9b7b2dfe095ab54ffdb121305c9aa4fc337a9bdf2aa9b155ba7

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

module Smithy
  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

6 entries across 6 versions & 1 rubygems

Version Path
smithycms-0.4.2 lib/smithy/liquid/filters/resize.rb
smithycms-0.4.1 lib/smithy/liquid/filters/resize.rb
smithycms-0.4.0 lib/smithy/liquid/filters/resize.rb
smithycms-0.0.3 lib/smithy/liquid/filters/resize.rb
smithycms-0.0.2 lib/smithy/liquid/filters/resize.rb
smithycms-0.0.1 lib/smithy/liquid/filters/resize.rb