LoremFlickr as a phoenix

In late 2024, Flickr started enforcing fairly strict API usage limits, eventually blocking LoremFlickr entirely. Then, in late 2025, without reason, API restrictions were lifted again. Feel free to use our hosted version of LoremFlickr, but you might want to set up the code on your own machine.

How to use LoremFlickr

https://loremflickr.com/320/240

A random picture of 320 x 240 pixels. If not supplying any keyword, you'll get a picture matching the keyword kitten.

https://loremflickr.com/320/240/dog

A random picture matching the keyword dog, of 320 x 240 pixels.

https://loremflickr.com/g/320/240/paris

A random picture in gray matching the keyword paris, of 320 x 240 pixels. Besides g, you can try p, red, green and blue.

https://loremflickr.com/320/240/brazil,rio

A random picture matching the keywords brazil or rio, of 320 x 240 pixels.

https://loremflickr.com/320/240/paris,girl/all

A random picture matching the keywords paris and girl, of 320 x 240 pixels.

https://loremflickr.com/g/320/240/paris,girl/all

A random picture in grey matching the keywords paris and girl, of 320 x 240 pixels.

If no matching photos are found, a photo of Tomboli is returned.

Lock it, lock it real good

Take some control of the image that's displayed. Include a lock query string parameter and give it a value that's a positive integer. While our cache is not updated, and sometimes for longer, the same image will be returned by our server.

<img src="https://loremflickr.com/320/240?lock=1" />
<img src="https://loremflickr.com/320/240?lock=212" />
<img src="https://loremflickr.com/320/240?lock=30976" />

Multiple images on the same page

Your browser might cache the images when you request the same URL multiple times on the same page. You can resolve this by adding a meaningless querystring to the URL. So, for example...

<img src="https://loremflickr.com/320/240?random=1" />
<img src="https://loremflickr.com/320/240?random=2" />
<img src="https://loremflickr.com/320/240?random=3" />

Version 3

This is a partial rewrite, giving you more power as to what images to look for. You can also set an hourly request limit, to stay within the Flickr API limits. Get it on GitHub, where you find usage instructions.

Version 2

This is the version that has been running on LoremFlickr for years, and will keep running for now. To roll your own version, to have control over what is shown, installation and usage instructions are now on GitHub.

Free!?

Yes, still free. Feel free to chip in for the price of a cheap beer.

PayPal.Me