Drive Image

Embeds a Google Drive image by file ID or share URL, converting it to the correct export URL that works inside GAS iframes.

Surfaces
gasweb
Fields
FieldType
urlDrive share URL OR file IDrequired
idalias for urlrequired
altalt text for accessibilityrequired
captioncaption text shown below imagerequired
roundedboolean (default true) — rounded cornersrequired
widthCSS width string (default "max-width:100%")required
Example payload
{
  "type": "drive_image",
  "url": "https://example.com",
  "id": "https://example.com",
  "alt": "Descriptive alt text for this image",
  "caption": "A descriptive caption"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:drive_image",
  "displayName": "Drive Image",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/drive_image",
  "capabilities": [
    "gas",
    "web"
  ],
  "description": "",
  "representativeQueries": [
    "show a Embeds a Google Drive image by file ID or share URL, converting it to the correct export URL that works inside GAS iframes",
    "render a drive image"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →