Add one missing bit of image/* vs text/html logic to the HTML out code