Set image size and additional tests for HTML writer