Skip to main content

Gallery — converter mapping

Source gallerygallery. This page shows the recognizer rule and every option on the shortcode, with how the converter fills it — so you can see at a glance which options are mapped, which are reproduced via CSS, and which are left for manual editing.

Recognizer

Priority64
Recognizergallery
Matches whenAn image gallery / grid — three or more images in a repeating grid or collage (fewer than three falls back to code).
Becomesgallery
Recognizer block shape{ images:[{ url, span }] }
FallbackDegrades to code_block (fewer than 3 images).

The images are mapped as the gallery’s media source (side-loaded), and each image’s column span becomes a width ratio so an uneven collage keeps its proportions. The gallery design (masonry / carousel / justified …), captions and colours use defaults.

Option coverage

2/15 options mapped natively (13%) — 🟡 0 via CSS · ⚠️ 5 gaps (derivable, not yet) · ⚪ 8 default · ⚙️ 1 auto.

5 derivable gaps

The ⚠️ rows below are options a source realistically expresses that the converter doesn't derive yet — the real to-do list for improving this element's fidelity. The ⚪ default rows are intentional (no reliable signal, or a UnysonPlus-specific choice).

OptionTabTypeStatusMapped from / note
sourceContentmulti-picker✅ Nativederived-from captured images → source.kind=media, source.media.images[]
design_settingsDesignmulti-picker✅ Nativederived-from detect_gallery_design (marquee/carousel/masonry/metro columns/grid col-ratio)
container_typeStyleselect⚪ Unmappednot set
clickStylemulti-picker⚪ Unmappedclick_action hardcoded 'lightbox'; not derived
captionsStyleselect⚠️ Gapsignal: presence of figcaption/caption elements in source gallery
caption_sourceStyleselect⚪ Unmappednot set; UnysonPlus-specific source selector
hover_zoomStyleswitch⚪ Unmappedhardcoded 'yes'; not derived
box_styleStyleborder-style-picker⚠️ Gapsignal: computed border / box-shadow on tiles
image_styleStyleimage-style-picker⚠️ Gapsignal: computed border-radius / filter on images (converter only forces flat 'rounded')
text_colorStylepredefined-colors-color-picker-compact⚠️ Gapsignal: computed text color
bg_colorStylepredefined-colors-color-picker-compact⚠️ Gapsignal: computed background-color of gallery container
font_size_presetStyleselect⚪ Unmappednot set
caption_colorStylepredefined-colors-color-picker-compact⚪ Unmappedno caption text reliably captured
animation · gsap_motion · interaction · text_effect · scroll_* · flip_card · motion_path · confetti · …Animationsmulti-picker⚪ UnmappedDefault — Animation Engine effects (no source mapping)
spacing · css_id · css_class · custom_css · element_position · element_overflow · dc_*Advancedtext / code-editor⚪ UnmappedDefault — outer spacing + per-instance advanced fields, set by hand
unique_id · custom_attrs · responsive_hideAdvancedgroup⚙️ AutoPlumbing — generated / not set

Status legend

  • Native — Set as the native option from the source.
  • 🟡 Via CSS — Reproduced via scoped CSS / the styler; the native option is left empty (candidate to promote to a native mapping).
  • ⚠️ Gap — A source signal exists, but the converter does not derive this yet — a mapping worth adding (a real TODO, not a limitation).
  • Unmapped — Left at default — no reliable source signal, or an intentional/UnysonPlus-specific choice with nothing to translate.
  • ⚙️ Auto — Plumbing (unique id, custom attrs). Excluded from the coverage percentage.

← Back to Element Mapping