Getting random images for test script

I have an application that processes images. For testing, I have a script that sends an image. This is not entirely unusual.

I am bored with my test images. Filling out a folder with some images and getting my test script for random selection becomes very boring.

Is there any script - in any language, really - that can get a random image from somewhere on the Internet?

I started using awesome http://www.jwz.org/webcollage/ , but the images are too cluttered to scale beautifully. The actual photos themselves, and ideally thumbnails, etc., would be nicer.

I was hoping that http://code.google.com/p/googlecl/ would have an image search, but unfortunately does not.

+5
source share
6 answers

http://lorempixel.com is really easy to use. Basically simple:

http://lorempixel.com/400/200

+17
source

Here are some links to sites that provide random api images. Explore it.

http://loremflickr.com/

http://lorempixel.com/

https://unsplash.it/images

http://www.splashbase.co/api

+3
source

Wikipedia (, curl) , . RSS- flickr feed.

: script xkcd iamge:

wget `wget -qO- dynamic.xkcd.com/comic/random  | sed -n 's/<h3>Image URL.*: \(.*\)<\/h3>/\1/p'`
+2

Flickr API.

-, flickr. , , .

flickr api: http://www.flickr.com/services/api/

, / .

"flickr.photos.search.html", (500?) . , , . API .., .

+2

Unsplash It - , , HTTPS. Cloud9, " ", HTTP.

https://unsplash.it/200/300/?random

+2

PlaceCage.com
FillMurray.com
PlaceBear.com
DummyImage.com
LorumPixel.com
PlaceHold.It
FPOImg.com
BaconMockup.com

Really easy to use. Examples here: Website sites with the best place for web development sites

+1
source

All Articles