Learn R Programming

ggpattern (version 0.1.3)

fetch_placeholder_img: Fetch a placeholder image of the correct dimensions

Description

Fetch a placeholder image from one of the sites used by web designers. Append 'bw' to the name to fetch greyscale images instead of colour.

Usage

fetch_placeholder_img(width = 100, height = 100, type = "kitten")

Arguments

width, height

image dimensions

type

specify the server from which to fetch images. default: 'kitten'

Details

kitten

- Kittens from https://placekitten.com/

picsum

- Random images from https://picsum.photos/

murray

- Bill Murrary images from http://www.fillmurray.com

cage

- Nicholas Cage images from https://www.placecage.com/

bear

- Bears from https://placebear.com/

seagal

- Steven Seagal images from https://www.stevensegallery.com/

flickr

- Images from Flickr https://loremflickr.com/

beard

- Beards! http://placebeard.it/

lorempixel

- Random images from http://lorempixel.com/

placeimg

- Random images from http://placeimg.com/

dummy

- Numeric placeholder images from https://dummyimage.com