Portal Community

Minimal Example

{
  "id": "company-logo",
  "type": "image",
  "order": 1,
  "width": "full",
  "settings": {
    "src": "https://cdn.example.com/logo.png",
    "alt": "ACME Corporation Logo"
  }
}

Settings Reference

SettingTypeDefaultDescription
srcstring (URL or base64)Image source URL or data URI
altstring""Alt text for accessibility (required for content images)
widthstring (CSS)"100%"Image width. Can be px, %, or auto.
maxWidthstring (CSS)Maximum width constraint (e.g., "400px")
heightstring (CSS)"auto"Image height. Usually leave as auto to preserve aspect ratio.
alignleft | center | rightleftHorizontal alignment of the image within its column
borderRadiusstring (CSS)"0"Corner rounding (e.g., "8px", "50%" for circle)
captionstringOptional caption text displayed below the image
linkstring (URL)If set, the image is wrapped in an anchor tag
linkTarget_blank | _self_blankHow to open the link

Logo Example

{
  "id": "header-logo",
  "type": "image",
  "order": 1,
  "width": "half",
  "settings": {
    "src": "https://cdn.acme.com/brand/logo-dark.svg",
    "alt": "ACME Corp",
    "maxWidth": "200px",
    "align": "left",
    "link": "https://acme.com",
    "linkTarget": "_blank"
  }
}

Instructional Diagram

{
  "id": "process-diagram",
  "type": "image",
  "order": 5,
  "width": "full",
  "settings": {
    "src": "https://docs.acme.com/images/approval-process.png",
    "alt": "Diagram showing the 4-step approval process: Submit → Review → Approve → Notify",
    "maxWidth": "700px",
    "align": "center",
    "caption": "Figure 1: Approval process flow",
    "borderRadius": "8px"
  },
  "modeVisibilitySettings": {
    "edit": true,
    "view": false,
    "preview": true,
    "admin": true,
    "design": true
  }
}

Responsive Sizing

Use percentage widths for responsive images that scale with the form container:

{
  "id": "banner",
  "type": "image",
  "settings": {
    "src": "https://cdn.example.com/banner.jpg",
    "alt": "Registration banner",
    "width": "100%",
    "height": "auto"
  }
}

Base64 Data URI

For small logos or icons that should be embedded directly in the form schema (no external dependency):

{
  "id": "watermark",
  "type": "image",
  "settings": {
    "src": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPi4uLjwvc3ZnPg==",
    "alt": "Document watermark",
    "maxWidth": "80px",
    "align": "right"
  }
}
Content Security Policy If your Atlas Forms deployment uses a strict Content Security Policy, external image URLs must be explicitly allowed in the img-src directive. Base64 data URIs are always allowed without CSP configuration.

Dynamic Image Source

The src setting supports template expressions to show different images based on form values:

{
  "id": "product-image",
  "type": "image",
  "settings": {
    "src": "https://cdn.example.com/products/{{values.product-id}}.jpg",
    "alt": "Product image",
    "maxWidth": "300px",
    "align": "center"
  },
  "visibilityRule": "values['product-id'] != null"
}