Embeds a Google Drive image by file ID or share URL, converting it to the correct export URL that works inside GAS iframes.
| Field | Type | |
|---|---|---|
| url | Drive share URL OR file ID | required |
| id | alias for url | required |
| alt | alt text for accessibility | required |
| caption | caption text shown below image | required |
| rounded | boolean (default true) — rounded corners | required |
| width | CSS width string (default "max-width:100%") | required |
{
"type": "drive_image",
"url": "https://example.com",
"id": "https://example.com",
"alt": "Descriptive alt text for this image",
"caption": "A descriptive caption"
}
{
"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"
]
}
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 →