forked from zuriby/Faker.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Image
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"
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"
NOTE: Same as faker.image.image()
Abstract faker.image.abstract()
faker.image.abstract(); //returns "http://lorempixel.com/640/480/abstract"
Animals faker.image.animals()
faker.image.animals(); //returns "http://lorempixel.com/640/480/animals"
Business faker.image.business()
faker.image.business(); //returns "http://lorempixel.com/640/480/business"
Cats faker.image.cats()
faker.image.cats(); //returns "http://lorempixel.com/640/480/cats"
City faker.image.city()
faker.image.city(); //returns "http://lorempixel.com/640/480/city"
Food faker.image.food()
faker.image.food(); //returns "http://lorempixel.com/640/480/food"
Nightlife faker.image.nightlife()
faker.image.nightlife(); //returns "http://lorempixel.com/640/480/nightlife"
Fashion faker.image.fashion()
faker.image.fashion(); //returns "http://lorempixel.com/640/480/fashion"
People faker.image.people()
faker.image.people(); //returns "http://lorempixel.com/640/480/people"
Nature faker.image.nature()
faker.image.nature(); //returns "http://lorempixel.com/640/480/nature"
Sports faker.image.sports()
faker.image.sports(); //returns "http://lorempixel.com/640/480/sports"
Technics faker.image.technics()
faker.image.technics(); //returns "http://lorempixel.com/640/480/technics"
Transport faker.image.transport()
faker.image.transport(); //returns "http://lorempixel.com/640/480/transport"