Skip to content
cliffpyles edited this page Dec 11, 2015 · 2 revisions

Avatar (UI Faces / Twitter) Random image from the UI Faces project (http://www.uifaces.com/). faker.image.avatar()

faker.image.avatar(); //returns "https://s3.amazonaws.com/uifaces/faces/twitter/heyimjuani/128.jpg"

pic

Image URL (Lorempixel) Random images from lorempixel (http://www.lorempixel.com/). faker.image.imageURL([width[640], height[480]] [,category])

faker.image.imageUrl(); //returns "http://lorempixel.com/640/480/cats"
faker.image.imageUrl(400,400,"people"); //returns "http://lorempixel.com/400/400/people"

pic

NOTE: Same as faker.image.image()

Abstract faker.image.abstract()

faker.image.abstract(); //returns "http://lorempixel.com/640/480/abstract"

pic

Animals faker.image.animals()

faker.image.animals(); //returns "http://lorempixel.com/640/480/animals"

pic

Business faker.image.business()

faker.image.business(); //returns "http://lorempixel.com/640/480/business"

pic

Cats faker.image.cats()

faker.image.cats(); //returns "http://lorempixel.com/640/480/cats"

pic

City faker.image.city()

faker.image.city(); //returns "http://lorempixel.com/640/480/city"

pic

Food faker.image.food()

faker.image.food(); //returns "http://lorempixel.com/640/480/food"

pic

Nightlife faker.image.nightlife()

faker.image.nightlife(); //returns "http://lorempixel.com/640/480/nightlife"

pic

Fashion faker.image.fashion()

faker.image.fashion(); //returns "http://lorempixel.com/640/480/fashion"

pic

People faker.image.people()

faker.image.people(); //returns "http://lorempixel.com/640/480/people"

pic

Nature faker.image.nature()

faker.image.nature(); //returns "http://lorempixel.com/640/480/nature"

pic

Sports faker.image.sports()

faker.image.sports(); //returns "http://lorempixel.com/640/480/sports"

pic

Technics faker.image.technics()

faker.image.technics(); //returns "http://lorempixel.com/640/480/technics"

pic

Transport faker.image.transport()

faker.image.transport(); //returns "http://lorempixel.com/640/480/transport"

pic

Clone this wiki locally