Image
Stay organized with collections
Save and categorize content based on your preferences.
An image displayed in the card.
JSON representation |
{
"url": string,
"accessibilityText": string,
"height": integer,
"width": integer
} |
Fields |
url |
string
The source url of the image. Images can be JPG, PNG and GIF (animated and non-animated). For example,https://www.agentx.com/logo.png . Required.
|
accessibilityText |
string
A text description of the image to be used for accessibility, e.g. screen readers. Required.
|
height |
integer
The height of the image in pixels. Optional.
|
width |
integer
The width of the image in pixels. Optional.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Images are represented using JSON with fields for URL, accessibility text, height, and width."],["The `url` field specifies the image source and supports JPG, PNG, and GIF formats."],["`accessibilityText` provides a description for screen readers and is required for all images."],["Optional `height` and `width` fields can be used to specify the image dimensions in pixels."]]],[]]