ImageInsightsImageCaption interface

Defines an image's caption.

Properties

caption

A caption about the image.

dataSourceUrl

The URL to the website where the caption was found. You must attribute the caption to the source. For example, by displaying the domain name from the URL next to the caption and using the URL to link to the source website.

relatedSearches

A list of entities found in the caption. Use the contents of the Query object to find the entity in the caption and create a link. The link takes the user to images of the entity.

Property Details

caption

A caption about the image.

caption: string

Property Value

string

dataSourceUrl

The URL to the website where the caption was found. You must attribute the caption to the source. For example, by displaying the domain name from the URL next to the caption and using the URL to link to the source website.

dataSourceUrl: string

Property Value

string

relatedSearches

A list of entities found in the caption. Use the contents of the Query object to find the entity in the caption and create a link. The link takes the user to images of the entity.

relatedSearches: Query[]

Property Value

Query[]