Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Image's HTML/CSS size attributes ignored in PDF Export

$
0
0
Version: SmartGWT Power Edition 4.1p20150205

We are experiencing image size issue in PDF exports since the 4.1 upgrade from 3.1. Our images now are always rendered with their original (image file) size, ignoring their "HTML size". We use both height/width HTML attributes and CSS rules to define sizes.

I debugged server-side through the PdfExport class and noticed that there is new code involving image loading and processing (B64ImgReplacedElementFactory and ResourceLoader). It could be related.

Is there any workaround?

Viewing all articles
Browse latest Browse all 4756

Trending Articles