Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 677 Bytes

lorem_pixel.md

File metadata and controls

17 lines (10 loc) · 677 Bytes

Faker.LoremPixel

Faker.LoremPixel.Image() //=> "https://lorempixel.Com/300/300"

Faker.LoremPixel.Image("50x60") //=> "https://lorempixel.Com/50/60"

Faker.LoremPixel.Image("50x60", true) //=> "https://lorempixel.Com/g/50/60"

Faker.LoremPixel.Image("50x60", false, "sports") //=> "https://lorempixel.Com/50/60/sports"

Faker.LoremPixel.Image("50x60", false, "sports", 3) //=> "https://lorempixel.Com/50/60/sports/3"

Faker.LoremPixel.Image("50x60", false, "sports", 3, "Dummy-text") //=> "https://lorempixel.Com/50/60/sports/3/Dummy-text"

Faker.LoremPixel.Image("50x60", false, "sports", null, "Dummy-text") //=> "https://lorempixel.Com/50/60/sports/Dummy-text"