Image Only Section

A section for displaying images with optional captions and CTAs. Essentially a section wrapper for the image partial.

Sample image demonstrating the image-only section

This is an example caption that provides context for the image

Configuration

- sectionType: image-only
  containerTag: section
  # container settings

  image:
    src: '/assets/images/featured-photo.jpg'
    alt: 'Description of the image for accessibility'
    caption: 'Optional caption providing context or description'
  ctas:
    - url: 'https://example.com/gallery'
      label: 'View Full Gallery'
      isButton: true
      buttonStyle: 'primary'

Configuration Options

Image Properties

PropertyTypeRequiredDescription
image.srcstringYesPath to the image file
image.altstringYesAlternative text for accessibility
image.captionstringNoOptional caption text displayed below the image

Content

PropertyTypeRequiredDescription
ctasarrayNoOptional array of call-to-action buttons or links
Image with dark background treatment

Full-width background with overlay image