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:
  • stringstring is the query for the search engine
    "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
    "field"s1the si must occur in the given field
    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
    Language Nonegive only pages in the specified language
    MaxItems 10number of results to return
    Method Automaticexternal 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  (3)

Search for images of tigers:

Limit the result to three images:

Take the two largest images from search results:

Scope  (10)

Search Forms  (4)

Search for images that match a complete 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:

Wolfram Research (2017), WebImageSearch, Wolfram Language function, https://reference.wolfram.com/language/ref/WebImageSearch.html (updated 2020).

Text

Wolfram Research (2017), WebImageSearch, Wolfram Language function, https://reference.wolfram.com/language/ref/WebImageSearch.html (updated 2020).

CMS

Wolfram Language. 2017. "WebImageSearch." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/WebImageSearch.html.

APA

Wolfram Language. (2017). WebImageSearch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WebImageSearch.html

BibTeX

@misc{reference.wolfram_2024_webimagesearch, author="Wolfram Research", title="{WebImageSearch}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/WebImageSearch.html}", note=[Accessed: 18-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_webimagesearch, organization={Wolfram Research}, title={WebImageSearch}, year={2020}, url={https://reference.wolfram.com/language/ref/WebImageSearch.html}, note=[Accessed: 18-December-2024 ]}