---
title: Dynamic placeholder images, now with kittens
date: 2011-02-28 19:27
slug: dynamic-placeholder-images-now-with-kittens
categories:
- Code
tags:
- design
- lipsum
- textexpander
---

[mj]: https://twitter.com/#!/TuxToaster
[placekitten]: http://placekitten.com/
[tools]: http://brettterpstra.com/textexpander-experiments/
[snippets]: http://brettterpstra.com/code/textexpander/

<img src="http://placekitten.com/300/250" alt="KITTEH 300x250" width="300" height="250" class="alignright shadow" />Thanks to [Michael Jones][mj] for brightening an otherwise dull day for me. He pointed me to [placekitten][placekitten], a site that mimics [placehold.it](http://placehold.it) and inserts dummy images into HTML mockups for you. The difference being that placekitten does it with pictures of, yes, kittens.

While you might not ever show a design filled with kittens to the average client, you can keep yourself feeling warm and fuzzy while you code out the details. You were going to put the client's images into those placeholders anyway, right?

For whatever you'd actually use it for, I threw snippets into the Tools group ([started here][tools]) in my TextExpander snippets. If you're curious, just install them from my [TextExpander project page][snippets], or update your existing group if you've installed via the urls.

For reference, the snippet is simply this:

```html
<img src="http://placekitten.com/g/%fill:width%/%fill:height%" alt="KITTEH %fill:width%x%fill:height%" width="%fill:width%" height="%fill:height%" />
```

The `g/` in there makes it greyscale, just pull it out of the url to make it color instead. Both versions are in the Tools snippets.

Hey, lighten up. [Try some kittens][placekitten].

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
