bundle update spree
to update your Spree version.Spree::ImagesHelper
and are available in your views.
spree_image_tag
image_tag
helper.
The first argument needs to be a either ActiveStorage attachment (eg. taxon.image
) or a Spree::Asset object.
Under the hood this helper uses spree_image_url
to generate the image URL.
spree_image_url
spree_asset_aspect_ratio
1
.