mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Update image default styles
This commit is contained in:
@@ -6,8 +6,8 @@ module Spree
|
||||
validate :no_attachment_errors
|
||||
|
||||
has_attached_file :attachment,
|
||||
styles: { mini: '48x48>', small: '100x100>',
|
||||
product: '240x240>', large: '600x600>' },
|
||||
styles: { mini: ["48x48#", :jpg], small: ["227x227#", :jpg],
|
||||
product: ["240x240>", :jpg], large: ["600x600>", :jpg] },
|
||||
default_style: :product,
|
||||
url: '/spree/products/:id/:style/:basename.:extension',
|
||||
path: ':rails_root/public/spree/products/:id/:style/:basename.:extension',
|
||||
|
||||
Reference in New Issue
Block a user