Page 1 of 1

Image size issue when converting html -> docx

PostPosted: Thu Oct 30, 2014 11:20 pm
by illumi
Hello there,

I have had an issue with formatting image to a size where the image is always the original dimensions in the resulting document.

This occurs when using both in-line styles like the following:

Code: Select all
<img height="11" width="11" src="images/example.png"/>

Code: Select all
<img height="11px" width="11px" src="images/example.png"/>


or as a styled element with:

Code: Select all
img {
    width:11px;
    height:11px;
}


Produce the same results where the image is still its original dimensions. Is there a way of getting the attributes to follow the style rules when generating a docx?