Fill the gaps between the image and the image container with gray
bars.
Generated from protobuf enum IMAGE_DISPLAY_OPTIONS_UNSPECIFIED = 0;
GRAY
Value: 1
Fill the gaps between the image and the image container with gray
bars.
Generated from protobuf enum GRAY = 1;
WHITE
Value: 2
Fill the gaps between the image and the image container with white
bars.
Generated from protobuf enum WHITE = 2;
CROPPED
Value: 3
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.
Generated from protobuf enum CROPPED = 3;
BLURRED_BACKGROUND
Value: 4
Pad the gaps between image and image frame with a blurred copy of the
same image.
Generated from protobuf enum BLURRED_BACKGROUND = 4;
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow V2 Client - Class ImageDisplayOptions (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [2.1.1](/php/docs/reference/cloud-dialogflow/2.1.1/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [2.0.1](/php/docs/reference/cloud-dialogflow/2.0.1/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.17.2](/php/docs/reference/cloud-dialogflow/1.17.2/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.16.0](/php/docs/reference/cloud-dialogflow/1.16.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.15.1](/php/docs/reference/cloud-dialogflow/1.15.1/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.14.0](/php/docs/reference/cloud-dialogflow/1.14.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.13.0](/php/docs/reference/cloud-dialogflow/1.13.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.12.3](/php/docs/reference/cloud-dialogflow/1.12.3/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.11.0](/php/docs/reference/cloud-dialogflow/1.11.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.10.2](/php/docs/reference/cloud-dialogflow/1.10.2/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.9.0](/php/docs/reference/cloud-dialogflow/1.9.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.8.0](/php/docs/reference/cloud-dialogflow/1.8.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.7.2](/php/docs/reference/cloud-dialogflow/1.7.2/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.6.0](/php/docs/reference/cloud-dialogflow/1.6.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.5.0](/php/docs/reference/cloud-dialogflow/1.5.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.4.0](/php/docs/reference/cloud-dialogflow/1.4.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.3.2](/php/docs/reference/cloud-dialogflow/1.3.2/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.2.0](/php/docs/reference/cloud-dialogflow/1.2.0/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.1.1](/php/docs/reference/cloud-dialogflow/1.1.1/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions)\n- [1.0.1](/php/docs/reference/cloud-dialogflow/1.0.1/V2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions) \nReference documentation and code samples for the Google Cloud Dialogflow V2 Client class ImageDisplayOptions.\n\nImage display options for Actions on Google. This should be used for\nwhen the image's aspect ratio does not match the image container's\naspect ratio.\n\nProtobuf type `google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.ImageDisplayOptions`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ V2 \\\\ Intent \\\\ Message \\\\ BrowseCarouselCard\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### IMAGE_DISPLAY_OPTIONS_UNSPECIFIED\n\n Value: 0\n\nFill the gaps between the image and the image container with gray\nbars.\n\nGenerated from protobuf enum `IMAGE_DISPLAY_OPTIONS_UNSPECIFIED = 0;`\n\n### GRAY\n\n Value: 1\n\nFill the gaps between the image and the image container with gray\nbars.\n\nGenerated from protobuf enum `GRAY = 1;`\n\n### WHITE\n\n Value: 2\n\nFill the gaps between the image and the image container with white\nbars.\n\nGenerated from protobuf enum `WHITE = 2;`\n\n### CROPPED\n\n Value: 3\n\nImage is scaled such that the image width and height match or exceed\nthe container dimensions. This may crop the top and bottom of the\nimage if the scaled image height is greater than the container\nheight, or crop the left and right of the image if the scaled image\nwidth is greater than the container width. This is similar to \"Zoom\nMode\" on a widescreen TV when playing a 4:3 video.\n\nGenerated from protobuf enum `CROPPED = 3;`\n\n### BLURRED_BACKGROUND\n\n Value: 4\n\nPad the gaps between image and image frame with a blurred copy of the\nsame image.\n\nGenerated from protobuf enum `BLURRED_BACKGROUND = 4;`"]]