Image size
On an image Smootify fills: the Shopify CDN resizes it. In a gallery, on the Slider for its slides, on the thumbnail or lightbox part itself
On this page
At a glance
More in the guide.
Where it can go
- Inside any of:
smootify-product,smootify-variant,cart-item,bundle-item,box-item,smootify-metaobject. - On image.
- Only on an element that also has
[product="specific-image"],[variant="image"],[option-variant="image"],[component="image"],[cart-item="image"],[cart-item="product-image"],[bundle-item="image"],[reference="image"],[metafield],[variant-metafield],[option-metafield],[metaobject],[gallery="slider"],[gallery="thumbnails"],[gallery="lightboxes"],[box-item="image"].
Values
| Attribute and value | What it is | Notes |
|---|---|---|
max-width="800" | Max width | — |
max-height="800" | Max height | — |
crop="center" | Crop | — |
pad-color="ffffff" | Padding color | — |