Sha256: f51a94d7df8c29cf6be1e88becc1634b7d9aeb09b8594b29b872fba4c0fc434c

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

- asset = product_asset(product, "image")
= picturefill(asset.image.url, product.name) do
  = image(asset.image.url(:small))
  = image(asset.image.url(:small_2x), ratio: 2.0)
  = image(asset.image.url(:medium), min: 400)
  = image(asset.image.url(:medium_2x), min: 400, ratio: 2.0)
  = image(asset.image.url(:large), min: 800)
  = image(asset.image.url(:large_2x), min: 800, ratio: 2.0)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/views/gemgento/shared/_product_image.haml