Merge pull request #10804 from Matt-Yorkley/public-images

Update ActiveStorage image processing
This commit is contained in:
Matt-Yorkley
2023-06-15 15:49:11 +01:00
committed by GitHub
16 changed files with 160 additions and 61 deletions

View File

@@ -15,6 +15,6 @@
.columns.small-12.medium-6.large-6.product-img
%img{"ng-src" => "{{::product.largeImage}}", "ng-if" => "::product.largeImage"}
%img.placeholder{ src: "/noimage/large.png", "ng-if" => "::!product.largeImage"}
%img.placeholder{ src: Spree::Image.default_image_url(:large), "ng-if" => "::!product.largeImage"}
%ng-include{src: "'partials/close.html'"}