fzaninotto/Faker — pull request #88 by alexsegura (2012-12-03 23:36:48+00:00)
Title: ImagePlaceholder Provider

Hello, I added a Provider to generate placeholder image URLs, using the following services:
- http://placehold.it
- http://placekitten.com
- http://instasrc.com
- http://flickholdr.com

Example:

for ($i = 0; $i < 10; $i++) {
echo '<img src="' .$faker->placekitten(100, 100). '" />';
echo '<img src="' .$faker->placeholdit(100, 100). '" />;
echo '<img src="' .$faker->lorempixel(100, 100). '" />';
echo '<img src="' .$faker->instasrc(100, 100). '" />';
echo '<img src="' .$faker->flickholdr(100, 100). '" />';
}

If you find the idea interesting, let me add some test cases before merging.