How to use dimensions correctly?
sas2job opened this issue · comments
How to properly update the size information of each template?
By default, the following is stored in the metadata:
"metadata"=>{"filename"=>"image_processing12.jpg", "size"=>12422, "mime_type"=>"image/jpeg"}
Three picture templates are used: optimal, thumb and original.
Added :store_dimensions, :mini_magick and :refresh_metadata plugins.
System configuration
Ruby version:
ruby-2.6.6
Shrine version:
shrine (~> 2.17.1)
I would need your full Shrine setup. But please post it to the Discourse channel, as GitHub issues should only be used for bug reports.