Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.jpg.to alternative to get URL from Image Keyword

I'm trying to get a simple way to extract a relevant image url given a "keyword". In browser, *.jpg.to does it perfectly.

For example, if I type book.jpg.to, it'll return a picture of a book. However, Java doesn't seem to accept ".to" as a domain and (in android) gives me an error complaining about the host name.

Are there any alternatives or solutions? Thanks.

like image 607
Kgrover Avatar asked Oct 27 '25 10:10

Kgrover


1 Answers

There is a similar service LoremFlickr which returns random picture for given keyword. And you can also specify dimensions of the image.

Usage:

<img src="http://loremflickr.com/320/240/book" />
like image 108
kostans3k Avatar answered Oct 28 '25 23:10

kostans3k



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!