[Html2PdfConverter] Image is stretching

[Html2PdfConverter] Image is stretching

  
Forge Component
(42)
Published on 23 Jun by Guilherme Pereira
42 votes
Published on 23 Jun 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.

Cheers,

Guilherme



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

J.Ja