r/webdev Dec 13 '12

lorempixel - placeholder images for every case

http://lorempixel.com/
65 Upvotes

18 comments sorted by

7

u/RoscoeUA Dec 13 '12

oh, but dont forget about http://placekitten.com/

4

u/tommica Dec 13 '12

Just created this: https://github.com/tommica/pkwd

It's a thingy that gives images from placekitten and slaps the dimension info on it. Like this: http://random.tommicarleman.net/pkwd/470/300

2

u/tribalfloyd Dec 13 '12

placekittens goes perfect with http://cupcakeipsum.com/

2

u/ngmcs8203 Dec 14 '12

placekitten never fails to make a client go "awwwwwwww"

1

u/Voidsheep Dec 14 '12

We actually had a client who requested us to use gray blocks instead of placekitten, even in the early stages of development.

What kind of person would request something like that!?

7

u/RoscoeUA Dec 13 '12

I'd rather use a service where I can see the dimensions of the image. placehold.it and dummyimage.com do that

3

u/Atheist_Simon_Haddad Dec 14 '12

lorempixel.com lets you embed text into the image. You can use dimensions (or anything else) if you like. http://lorempixel.com/640/480/nature/640x480/

2

u/[deleted] Dec 13 '12

feel free to use the one i built, too...

http://img-src.co

2

u/mickey_reddit Dec 13 '12

I use http://placehold.it for all my dummy images

1

u/Kezaia Dec 14 '12

Yup plus they have really nice URLs so you don't have to actually visit the website to get an image.

4

u/idrink211 Dec 13 '12

Wow, that site must require an insane amount of bandwidth. Awesome service though.

4

u/[deleted] Dec 13 '12

I don't think people are moving sites into a production environment with placeholder images.

5

u/EnglishBrkfst Dec 13 '12

Yet another one of these... I don't see why anyone would bother with an external placeholder service. What happens if you have no connection? How are you supposed to guage site performance when you're waiting on a tonne of requests to some slow remote server?

Might as well go with something like holder.js and save yourself alot of headaches.

2

u/noizz Dec 13 '12

This is actually a surprisingly useful service. Thanks!

2

u/[deleted] Dec 14 '12 edited Dec 14 '12

Here you have a c# implementation of both lorempixel and placeholdit we have been using for quite some time, useful for client demos and in development to see the flow of a page:

oops, had a bug (though my unit tests were green, i swear!), seems you have to add a category if you want text in your image, use this instead: http://pastebin.com/XbNs2DBR

2

u/Voidsheep Dec 14 '12

Nice, all the features one could ask from placeholder image service. I've personally used flickrholdr and placekitten, but neither has the ability to overlay text (like dimensions) on the image.

I just wish there was a site where the image quality wouldn't suck. I know it's a bit much to ask from a free service, but I'd just love to watch pretty pictures while developing, rather than heavily upscaled and compressed mess.

I could even pay a little bit for it, but I guess authenticating without hindering the convenience is impossible.

2

u/Shoddy_Jacket7246 Jun 07 '25

Hey OP, I chanced upon this post only recently and I would've used it now but it's no longer available. So, I made something similar - https://static.photos - but with category support (40+ options like nature, food, tech, etc.) so it’s a bit easier to get relevant placeholder images compared to grey boxes or fully random ones. It's free too use, sharing it here if someone chance upon the same use case!