jgarber623 / spaceholder.cc

A space-themed image placeholder service.

Home Page:https://spaceholder.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpaceHolder

A space-themed image placeholder service.

Deployment Build Vulnerabilities

Usage

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="https://spaceholder.cc/i/400/300" alt="This is an awesome spaceholder!">

Replace 400/300 with whatever pixel dimensions you like: 200/50, 1200/400, 240/240. You'll be traveling the outer reaches so long as the format is a number, a /, and another number. For sanity's sake, both dimensions may be no larger than 4000.

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

<img src="https://spaceholder.cc/i/400" alt="This is an awesome square spaceholder!">

Acknowledgments

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 ESA/Hubble and are released under the Creative Commons Attribution 4.0 International license.

SpaceHolder is written and maintained by Jason Garber.

License

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

About

A space-themed image placeholder service.

https://spaceholder.cc

License:MIT License


Languages

Language:JavaScript 42.5%Language:Liquid 31.9%Language:CSS 25.5%