WebImageSearch

WebImageSearch["string"]

gives a list of thumbnails of the top web image search results for the specified literal string.

WebImageSearch[form]

gives the top results obtained by doing the web image search specified by form.

WebImageSearch[form, n]

picks out the first n top results obtained by doing the web image search specified by form.

WebImageSearch[form,elems]

gives the elements of the web image search specified by elems.

WebImageSearch[form, elems, n]

picks out the first n elements of the web image search specified by elems.

Details and Options

  • WebImageSearch requires internet connectivity and uses external services that require Service Credits.
  • WebImageSearch supports the following basic search forms:
  • "string"complete string must occur in the image metadata
    {s1,s2,}search for all si in the image metadata
    s1|s2|at least one of the si must occur in the image metadata
    SearchQueryString["query"]complete search enginestyle query
    "field"s1the si must occur in the given field
    FixedOrder[s1,s2,]the si must occur in the order given
    Except[q]q cannot occur in the image metadata
  • Possible fields include:
  • "Country"search only within a given country's web domain
    "Site"search only within specified website
  • Possible options include:
  • AllowAdultContentFalsewhether to include adult-type results
    LanguageNonegive only pages in the specified language
    MaxItems10number of results to return
    MethodAutomaticexternal search service to use
  • Possible settings for Method include "Google" and "Bing".
  • Possible elements that can be specified by elems include:
  • "Thumbnails"image thumbnails
    "Images"full images
    "ImageHyperlinks"full image hyperlinks
    "PageTitles"page titles
    "PageHyperlinks"hyperlinks to pages where images appear
    "FileFormats"formats of image files

Examples

open allclose all

Basic Examples  (4)

Search for images of tigers:

Limit the result to three images:

Take the two largest images from search results:

Search using a search enginestyle query:

Scope  (10)

Search Forms  (4)

Search for images that match a simple string:

Search for images whose metadata contains all specified strings:

Filter results by country:

Filter results by site:

Elements  (6)

FileFormats  (1)

Get the file formats of images returned by the search query:

ImageHyperlinks  (1)

Get hyperlinks to the full images returned by the search query:

Images  (1)

Get a list of full images:

PageHyperlinks  (1)

Get hyperlinks to the pages containing the images returned by the search query:

PageTitles  (1)

Get the titles of the pages containing the images returned by the search query:

Thumbnails  (1)

Get a list of thumbnails:

Options  (3)

Language  (1)

Search for images only on pages in a specified language:

MaxItems  (1)

Specify the maximum number of images to retrieve:

Method  (1)

Specify a search engine:

Neat Examples  (1)

Compare search results from different countries:

Introduced in 2017
 (11.1)
 |
Updated in 2020
 (12.1)