Diptych compare
Compare two products, or a before photo and an after photo, on one seam.
Alume is in development. These early guides grow as the theme does.
Diptych compare puts two photos on one seam. Shoppers drag the handle to reveal one over the other. Use it for two products, with facts underneath, or for a before photo and an after photo.
Choose what to compare
- In the theme editor, add or select Diptych compare.
- Set Mode to Products or Images. Images compares a before photo and an after photo.
- For products, choose First product and Second product. On a product page, turn on Use the product on this page to make that product the first one.
- For images, set Before image and After image.
- Write First label and Second label, or leave them empty. Empty labels use the product name, or Before and After for images.
- In Images mode, turn on Show labels to show the before and after labels.
Facts and the seam
In Facts, enter one metafield per line as namespace.key|Label, for example custom.material|Material. A fact is shown only when both products have a value and those values differ. Separate entries with new lines or commas; labels can't contain commas. Leave Facts blank to hide the rows.
Image height (Desktop) sets the frame on large screens. Small, Medium, and Large crop photos to fill the selected height. Adapt to image follows the original proportions and keeps both photos uncropped. When photos have different proportions, space may remain around one of them.
Image height (Mobile) sets the height independently on phones. With Mobile layout set to Stacked, each photo uses its own proportions when the height is Adapt to image. Other heights crop each photo to fill.
Start position is where the seam starts. 0 shows the second product or the after image. 100 shows the first product or the before image.
In Images mode, Orientation set to Vertical moves the handle up and down. Product comparisons keep a horizontal reveal.
Mobile layout has two choices. Drag handle keeps the seam on small screens. Stacked shows one photo after the other, without a drag handle. Photo cropping follows Image height (Mobile).
Good to know
- Before you choose products, the editor and section picker show the same layout with example images, vendor, prices, view buttons, product type, and availability. The detail switches also apply to this preview. Example view buttons are inactive.
- A single selected product appears without a drag handle.
- Comparison rows have a shared label and one value under each product. View buttons fill their columns on phones.

