Skip to main content
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

How to resize images in NPrinting HTML report

No ratings
Showing results for 
Search instead for 
Did you mean: 
Digital Support
Digital Support

How to resize images in NPrinting HTML report

Last Update:

Jun 9, 2021 7:28:05 AM

Updated By:


Created date:

Jun 27, 2018 8:58:11 AM

From NPrinting April 2018 to September 2018, image in HTML report does not have width and height properties like in other types of report. Therefore, resizing images in HTML reports is not yet a supported function.

A work-around solution is to add inline CSS style to the generated img tag. For example:
<img src="%%kVrDh%%" alt="kVrDh" style = "width:200px;height:200px"

Note that this does not work for HTML reports embedded into emails in certain email client such as Outlook. Root cause of the issue is that once the report is previewed/ distributed, NPrinting automatically adds attributes width="[original width]" height="[original height]" to the beginning of the img tag.

  • When viewing HTML report in a web browser, there is no problem because the CSS style is prioritized
  • However, when embedding the HTML report to email, some email clients such Outlook prioritize HTML attributes width and height over CSS style. Therefore, the image is reverted to original size.


Resize Images in HTML report.png


Qlik NPrinting 



The problem is resolved in NPrinting September 2018 and higher releases. The value of "width" and "height" attributes are used during the image production, in the output report the attribute values will reflect the real image dimensions.

Warning: the inline css is not supported, the "width" and "height" must be an attributes of the tag.


Internal Investigation ID(s):


Labels (1)
Version history
Last update:
‎2021-06-09 07:28 AM
Updated by: