shrine.cr v0.6.0 Release Notes

Release Date: 2020-07-03 // 8 months ago

Previous changes from v0.5.3

  • ๐Ÿ“‡ The StoreDimensions plugin extracts dimensions of uploaded images and stores them into the metadata.

    class Uploader \< Shrine load\_plugin(Shrine::Plugins::StoreDimensions, analyzer: Shrine::Plugins::StoreDimensions::Tools::BuiltIn) finalize\_plugins!end
    
    image.metadata["width"] image.metadata["height"]