DEV Community

Cover image for PlaceKeanu.com — A slightly more breathtaking placeholder service

PlaceKeanu.com — A slightly more breathtaking placeholder service

Alexander Sandberg on July 10, 2019

You know those times when you work on a web dev project, and need an image in 300x250px real quick? Or maybe you need a placeholder for your avata...
Collapse
 
autoferrit profile image
Shawn McElroy

My biggest request would be to pass say "f" to have a gif returned. But I'm sure you wouldn't be able to encode those the same. Would the sizes also work? What if we just do

placekeanu.com/gif

To get a random gif?

Collapse
 
alexandersandberg profile image
Alexander Sandberg

Love the suggestion, Shawn!

It's actually possible to encode GIFs to Base64, but the size of the data strings can get quite large (we're talking a few MB, so not that bad).

But yes, that would actually allow for GIFs in any sizes, just like the way the photos are working now. And additional GIF filters, like Grayscale? Yuuup! 😃

Collapse
 
jess profile image
Jess Lee

hahah this is amazing

Collapse
 
msfjarvis profile image
Harsh Shandilya

You're breathtaking!😆

Collapse
 
fischgeek profile image
fischgeek

Haha! I love this!

Collapse
 
alexandersandberg profile image
Alexander Sandberg

I hope it'll come in handy! 😍