Add support to generate image and avatar

Inspired by the same function of PHP Faker.