Image
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Obraz wyświetlany na karcie.
Zapis JSON |
{
"url": string,
"accessibilityText": string,
"height": integer,
"width": integer
} |
Pola |
url |
string
Źródłowy adres URL obrazu. Obrazy mogą być w formacie JPG, PNG lub GIF (animowane lub nieanimowane). Na przykład: https://www.agentx.com/logo.png . Wymagane.
|
accessibilityText |
string
Opis tekstowy obrazu, który ma być używany na potrzeby ułatwień dostępu, np. przez czytniki ekranu. Wymagane.
|
height |
integer
Wysokość obrazu w pikselach. Opcjonalnie:
|
width |
integer
Szerokość obrazu w pikselach. Opcjonalnie:
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-12 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-09-12 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."]]],["The provided content details the JSON representation of an image. It includes a `url` (string) specifying the image's source, which must be a JPG, PNG, or GIF. An `accessibilityText` (string) is required for screen readers. Optional fields include `height` and `width` (integers) to define the image dimensions in pixels. All fields are contained within a JSON object with the provided schema.\n"]]