Skip to main content

Product gallery

Settings​

SettingIDTypeDefaultDescription
Block classclasstext
Layoutgallery_layoutselectcarousel-bottom
Media ratioaspect_ratioselect
Slide effectgallery_effectselectslide
Autoplay delaycarousel_delayrange00 = disable autoplay.
Enable click to zoomenable_zoomcheckboxtrue
Zoom max ratiozoom_ratiorange3
Enable mousewheel controlenable_mousewheelcheckboxfalse
Show prev/next buttonshow_prevnextcheckboxtrue
Prev/next sizeprevnext_sizerange36
Thumbnails per view (desktop)thumb_perviewrange40 = auto size
Thumbnails per view (mobile)thumb_perview_mobrange40 = auto size
Show arrows on thumbnailsshow_prevnext_thumbcheckboxfalse
Arrow sizethumb_arrow_sizerange28
Enable controlscontrolscheckboxtrue
Enable autoplayautoplaycheckboxfalse
Enable mutedmutedcheckboxtrue
Enable looploopcheckboxfalse
Show play buttonshow_playcheckboxtrue
Backgroundmodel_bgselecttransparent
Automatic playmodel_autoplaycheckboxfalseWhen the model contains animations.
Automatic rotationauto_rotationcheckboxfalse
Rotation speedrotation_speedrange0
Labels ordercard_labelstextnew/reduction/hot/sold-out/pre-order/refurbished/tiered-pricing/bulk-orderAll labels: new / reduction / hot / sold-out / pre-order / refurbished / tiered-pricing / bulk-order. Sort freely or delete any you don't want.
Positioncard_labels_positionselecttop-startWhere the label stack sits over the product image.
Stylecard_labels_schemaselectsolid
Shapecard_labels_shapeselectrounded-mdSame 32-shape vocabulary as the button blocks.
Sizecard_labels_sizeselectmd
Hot methodcard_status_sale_typeselecttagCollection: shows when the product is in a collection whose handle contains 'hot'. Tag: add the tag 'Hot sale'. Always: always show.
Reduction typecard_reduction_typeselectpercent
New arrival methodcard_new_methodselectcollectionCollection: product in a collection whose handle contains 'new'. Tag: add the tag 'New'. Date: created within the limit below.
New arrival date limitcard_new_limitrange7Label shows if the product was created within this many days

Option values​

  • Layout (gallery_layout): Carousel - thumbnails top (carousel-top), Carousel - thumbnails bottom (carousel-bottom), Carousel - thumbnails left (carousel-start), Carousel - thumbnails right (carousel-end), One column (columns-1), Two column (columns-2)
  • Media ratio (aspect_ratio): Auto (``), Custom (3:1) (3.0), Ultrawide (21:9) (2.33), Double-width (2:1) (2.0), Widescreen/HD (16:9) (1.78), Classic/DSLR (3:2) (1.5), ISO Paper (1.4:1) (1.4), Standard Definition/SD (4:3) (1.33), Landscape (5:4) (1.25), Square (1:1) (1.0), Instagram Portrait (4:5) (0.8), Portrait Photography (3:4) (0.75), Pinterest Pin Ratio (2:3) (0.67), Portrait (9:16) (0.56)
  • Slide effect (gallery_effect): Slide (slide), Fade (fade)
  • Background (model_bg): Transparent (transparent), White (white), Black (black), Primary (primary), Secondary (secondary), Success (success), Warning (warning), Danger (danger)
  • Position (card_labels_position): Top, left to right (top-start), Top, right to left (top-end), Left, top to bottom (side-start), Right, top to bottom (side-end)
  • Style (card_labels_schema): Solid (solid), Outline (outline), Soft (soft)
  • Shape (card_labels_shape): Square (rounded-none), Rounded small (rounded-md), Rounded medium (rounded-xl), Rounded large (rounded-2xl), Rounded extra large (rounded-3xl), Squircle (rounded-squircle), Circle (rounded-circle), Pill (rounded-full), Rounded top (rounded-top), Rounded bottom (rounded-bottom), Single corner (rounded-corner), Diagonal corners (rounded-diagonal), Arch (rounded-arch), Dome (rounded-dome), Cylinder (rounded-cylinder), Barrel (rounded-barrel), Leaf pointed (rounded-leaf-point), Leaf (rounded-leaf), Lens (rounded-lens), Petal (rounded-petal), Egg (rounded-egg), Egg inverted (rounded-egg-inverted), Shield (rounded-shield), Drop (rounded-drop), Diamond (rounded-diamond), Blob (rounded-blob), Amoeba (rounded-amoeba), Flower (rounded-flower), Mountain (rounded-mountain), Pebble (rounded-pebble), Bean (rounded-bean), Cloud (rounded-cloud)
  • Size (card_labels_size): Small (sm), Medium (md), Large (lg)
  • Hot method (card_status_sale_type): Collection (collection), Tag (tag), Always (always)
  • Reduction type (card_reduction_type): Percent (percent), Value (value)
  • New arrival method (card_new_method): Collection (collection), Tag (tag), Date (date)

Presets​

  • Product gallery