Hammer Tags

Show Menu

Image Placeholders

Hammer has a @placeholder tag that you can use to easily generate placeholder images.

<!-- @placeholder 400x300 -->

Hammer will generate an image tag in place that references an image from placehold.it and uses that URL as the src attribute. The images this produces look like the example below.

By default the image will display the image dimensions as part of the graphic. You can replace this with your own embedded message by passing your text string to the tag, as shown below.

<!-- @placeholder 400x300 Hammer+Time -->

Have a question, want to beta test new releases or have an issue you're stuck with?

Join our supportive community Slack Team and get in touch with us directly. We love to help!