Reference documentation and code samples for the Google Cloud Dialogflow v2 API enum Intent.Types.Message.Types.BrowseCarouselCard.Types.ImageDisplayOptions.
Image display options for Actions on Google. This should be used for
when the image's aspect ratio does not match the image container's
aspect ratio.
Pad the gaps between image and image frame with a blurred copy of the
same image.
Cropped
Image is scaled such that the image width and height match or exceed
the container dimensions. This may crop the top and bottom of the
image if the scaled image height is greater than the container
height, or crop the left and right of the image if the scaled image
width is greater than the container width. This is similar to "Zoom
Mode" on a widescreen TV when playing a 4:3 video.
Gray
Fill the gaps between the image and the image container with gray
bars.
Unspecified
Fill the gaps between the image and the image container with gray
bars.
White
Fill the gaps between the image and the image container with white
bars.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `Intent.Types.Message.Types.BrowseCarouselCard.Types.ImageDisplayOptions` enum in the Google Cloud Dialogflow v2 API."],["The latest version documented is 4.26.0, with previous versions ranging down to 3.2.0 also listed and accessible."],["The `ImageDisplayOptions` enum is used to manage how images are displayed within the image container for Actions on Google when the image's aspect ratio doesn't align with the container's aspect ratio."],["There are five possible fields or values for the `ImageDisplayOptions` enum: `BlurredBackground`, `Cropped`, `Gray`, `Unspecified`, and `White`, each defining a different method for handling image and container mismatches."],["The documentation includes a table detailing each of the five `ImageDisplayOptions` fields, the value names, and a thorough description of how each field affects image display within the container."]]],[]]