An object used in a gallery or mosaic component for displaying an individual image.
- Apple News Format 1.7+
URL of an image to display in a gallery or mosaic.
Image URLs can begin with
bundle://. If the image URL begins with
bundle://, the image file must be in the same directory as the document.
Image filenames should be properly encoded as URLs.
A caption that describes the image. The text is seen when the image is in full screen. This text is also used by VoiceOver for iOS and VoiceOver for macOS, if
accessibility text is not provided. The caption text does not appear in the main article view. To display a caption in the main article view, use the Caption component.
A Boolean value that indicates the image may contain explicit content.
Use an array of
Gallery objects to define the individual items used in a gallery or mosaic component. When the user taps an image in a gallery or mosaic to see it full-screen When the user taps an image in a gallery or mosaic to see it full-screen (as shown in the following figure), the caption from the caption descriptor property is shown. Note that this is different from the Caption component.