Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A space-themed image placeholder service.
Spaceholder.cc is a free, open-source web service that generates space-themed placeholder images on demand, replacing generic gray boxes with real ESA/Hubble photographs.
Spaceholder.cc is a web-based placeholder image generator that returns astronomical images in any dimensions you specify via a simple URL. Request an image size like /i/400x300 and the service responds with a space photo cropped or scaled to those exact pixel dimensions. It is written and maintained by Jason Garber, released under the MIT License, and the project source has moved to Codeberg.
https://spaceholder.cc/i/400x300 directly returns the placeholder; no registration or keys needed./i/400) produces a square placeholder, useful for avatars and thumbnails.<img> tag into your markup and it works.alt text and a placeholder image like https://spaceholder.cc/i/400x300 into any HTML page, then swap in real photos later without changing layout./i/240x240) to fill avatar and thumbnail slots in slide decks or client previews.Add the desired dimensions to the service URL, e.g., https://spaceholder.cc/i/400x300. The service returns an image from its Hubble photo library sized to those dimensions. Maximum dimension per side is 4000 pixels.
Yes. The service is freely available and the source code is released under the MIT License, so you can use it, learn from it, fork it, and change it.
Both width and height can be no larger than 4000 pixels. The URL format must be a number, an "x", and another number.
All placeholder photos are sourced from ESA/Hubble and are released under the Creative Commons Attribution 4.0 International license.
The README indicates the project has moved to Codeberg and is open source under MIT, so self-hosting is possible if you run the code yourself (the linked repository contains the source).
