1

For instance, if I want to show an image of a kitten, I could do something like this:

<img src="http://specialapi.com/kitten" />

If I want an image of a dog then I could to do something like this:

<img src="http://specialapi.com/dog" />

If I want it in Chinese I would to this:

<img src="http://specialapi.com/狗" />
4
  • And is it absolutely relevant that you do a <img src=, i.e. that you call it from a webpage?
    – user416
    Commented Feb 20, 2017 at 15:57
  • 1
    I guess you want the images to be licensed with a license that allows you to show them on your website? Images without a license can not be reused.
    – Nicolas Raoul
    Commented Feb 21, 2017 at 4:03
  • Can you code? If so, use Python to invoke Google Image Search (or, as Nicolaus suggests, a Creative Commons licensed site) and scrape the results with Scrapy
    – Mawg
    Commented Feb 21, 2017 at 8:29
  • BTW, on technical grounds, I wuld not reommend <img src="http://specialapi.com/kitten" />, but, rather, <img src="http://specialapi.com/search.php?subject=kitten" />
    – Mawg
    Commented Apr 23, 2017 at 8:05

1 Answer 1

1

Can you code? Your participation on Stack Overview suggest that you can.

If so, use Python (or the language of your choice) to invoke the Google Image Search API (or, as Nicolaus suggests, the Creative Commons API).

You can also scrape the results from other Creative Commons licensed sites with Scrapy

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.