Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


A space-themed image placeholder service.

Build Maintainability Coverage Vulnerabilities


Jamming on a prototype? Cranking on buildout but you don't have content images from your client yet? Drop the following in your markup and marvel at the wonders of the universe:

<img src="" alt="This is an awesome spaceholder!">

Replace 400x300 with whatever pixel dimensions you like: 200x50, 1200x400, 240x240. You'll be traveling the outer reaches so long as the format is a number, an x (the letter "x"), and another number. For sanity's sake, both dimensions may be no larger than 5000.

If you'd like a square image, use a single number in the URL:

<img src="" alt="This is an awesome square spaceholder!">

Improving SpaceHolder

You want to help make SpaceHolder better? Hell yeah! I like your enthusiasm. For more on how you can help, check out


If diving into Ruby isn't your thing, but you'd still like to support SpaceHolder, consider making a donation! Any amount—large or small—is greatly appreciated. As a token of my gratitude, I'll add your name to the Acknowledgments below.

Donate via Square Cash Donate via Paypal


Tip o' the hat to Brad Frost for the inspiration and Alex Rehberg for the name. Many thanks to Ste Grainer for SpaceHolder's logo and visual design.

All those amazing photos are sourced from NASA on The Commons and carry no known copyright restrictions.

SpaceHolder is written and maintained by Jason Garber.


SpaceHolder is freely available under the MIT License. Use it, learn from it, fork it, improve it, change it, tailor it to your needs.