The problem with this approach is that the containing element will display an image placeholder, and since `corrupted.png` has transparency, both will be visible. I recommend defining the class on the container itself:

```html
<div style="${inlineStyle}" class="placeholder ${type}-placeholder ${errorClass}"></div>
```

...and then updating `style/attachment.css`:

```diff
.img-placeholder {
  background-position: left -82px;
}

.img-placeholder:active,
.img-placeholder:hover {
  background-position: right -82px;
}

+.img-placeholder.corrupted {
+  background-position: left XXXXX;
+}
+
+.img-placeholder.corrupted:active,
+.img-placeholder.corrupted:hover {
+  background-position: right XXXX;
+}
```

Note that this will require moving the art asset into the spritesheet.