openhtmltopdf icon indicating copy to clipboard operation
openhtmltopdf copied to clipboard

Image Size

Open rmcarls1 opened this issue 1 year ago • 0 comments

We use the following html and css to set attributes for images.

" table.table-froala-content img\n" + " {\n" + " max-height: 872px;\n" + " max-width: 661px;\n" + " padding: 0;\n" + " }\n" +

We've noticed that openhtmltopdf uses the css styling's max-height for the height of the image, rather than the height given in the html.

rmcarls1 avatar Mar 23 '23 17:03 rmcarls1