RandomAPI / Randomuser.me-old-source

[Deprecated] PHP source for Random User Generator - Please take a look at the new Node version
https://randomuser.me
137 stars 48 forks source link

Random user picture w/o API #41

Open cfjedimaster opened 9 years ago

cfjedimaster commented 9 years ago

Maybe consider the ability to point an image tag to the site (randomuser.me/randimg) that would spit out a random user picture. So I could simply drop a few img tags in and get random user pictures.

keitharm commented 9 years ago

That sounds like a cool idea. It could also accept a gender parameter as well.

cfjedimaster commented 9 years ago

And size too. I think size would be required.

keitharm commented 9 years ago

Yes, that'd be a nice parameter to have. Also I could see seed working here as well.

Would this just output an actual image, or would it send the URLs back in JSON format? If the latter, a results parameter could also be provided that sends back an array of URLs.

cfjedimaster commented 9 years ago

No JSON at all. I literally want to do this:

Other examples:

(makes a 40x40)

(makes a woman)

(makes a man, 80x80)

On Wed, Jul 15, 2015 at 8:10 AM, Keith Armstrong notifications@github.com wrote:

Yes, that'd be a nice parameter to have. Also I could see seed working here as well.

Would this just output an actual image, or would it send the URLs back in JSON format? If the latter, a results parameter could also be provided that sends back an array of URLs.

— Reply to this email directly or view it on GitHub https://github.com/RandomAPI/Randomuser.me-Data/issues/41#issuecomment-121610055 .

Raymond Camden, Developer Advocate for MobileFirst at IBM

Email : raymondcamden@gmail.com Blog : www.raymondcamden.com Twitter: raymondcamden

jessmartin commented 8 years ago

:+1: