Function Repository Resource:

WebPageImageCollage

Source Notebook

Create a collage of images from a web page

Contributed by: Daniel de Souza Carvalho

ResourceFunction["WebPageImageCollage"][url]

gets the web page for url and uses its images to create a collage.

Details and Options

ResourceFunction["WebPageImageCollage"] supports all the options of ImageCollage.
Some websites are created programmatically with JavaScript and dynamically build their web page in the user’s browser (that is, on the client side). In such cases this function can fail to obtain the web page images.

Examples

Basic Examples (1) 

Create an image collage from a web page given its URL:

In[1]:=
ResourceFunction["WebPageImageCollage"]["http://www.wired.com"]
Out[1]=

Scope (5) 

Create an image collage from a different URL:

In[2]:=
ResourceFunction["WebPageImageCollage"]["www.wolfram.com"]
Out[2]=

Create an image collage based on current events:

In[3]:=
ResourceFunction["WebPageImageCollage"]["www.nyt.com", ImagePadding -> 0, Method -> "Grid", Background -> Orange]
Out[3]=

Create a collage from a URL provided by a search engine:

In[4]:=
ResourceFunction[
 "WebPageImageCollage"]["https://br.images.search.yahoo.com/search/images?p=stephen+wolfram"]
Out[4]=

Create a collage based on the White House web page:

In[5]:=
ResourceFunction["WebPageImageCollage"]["www.whitehouse.gov"]
Out[5]=

Get images from a different search engine:

In[6]:=
ResourceFunction[
 "WebPageImageCollage"]["https://www.bing.com/images/search?q=coronavirus&FORM=HDRSC2"]
Out[6]=

Publisher

Daniel de Souza Carvalho

Version History

  • 1.0.0 – 08 April 2020

Author Notes

This function can take some time to process, it depends on your network speedy and the web site response speed.

License Information