[Html2PdfConverter] Image is stretching

Forge Component
Published on 2018-10-30 by Guilherme Pereira
58 votes
Published on 2018-10-30 by Guilherme Pereira

We have used this a good bit and it worked great.  We have a page that has some images in a table in it and the images come out stretched.  However, if I view the page or do print preview on the page they are not.  Have you run into this and have a fix?

Hi Jason,

I'm not sure if that's the case but the component tries to render the page with the A4 Size. So the best test you can do is to try and see your page as if in a tablet (just try to resize your browser window).

You may have some style that is only used on certain responsive situations and that could be causing it. In any case you can try to manually adjust the pictures width and height.



Yeah, this definitely sounds like a CSS or styling issue to me.