Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Nprinting Straight table with image

Hi community,

I'm attempting to create an HTML report using Nprinting.  Most of it works fine, but when trying to Nprint a straight table that contains an image, the report will not display the image.

This is the table I am attempting to produce in HTML:

3 qlik.PNG

The 'Competitor' column contains an image for each dimension (the actual dimension column is hidden). 

However, this is the result when this table is placed into my email report through nprinting:

2 result.PNG

The competitor field seems to have dropped off, and I'm not sure why.

For reference, here is my HTML code:

1 report edit.PNG

Thanks,

Henry

1 Solution

Accepted Solutions
devarasu07
Master II
Master II

Hi,

Another method:

Nprint excel report - by creating levels option you can able to  achieve it

refer to the mock

Repeat Column header in Qlik Nprint 16.3

Add external images into and Excel report

PS:

Thanks,

Deva

View solution in original post

11 Replies
devarasu07
Master II
Master II

Hi,

Another method:

Nprint excel report - by creating levels option you can able to  achieve it

refer to the mock

Repeat Column header in Qlik Nprint 16.3

Add external images into and Excel report

PS:

Thanks,

Deva

Anonymous
Not applicable
Author

Hi Dev,

Thanks for the thread - interesting read.

However, my business requirement is that the report is rendered as HTML, as it is embedded in an email that is sent out to multiple recipients.  Like this:

email.PNG

Graphs work great, it's just tables that aren't behaving.  It is possible for me to paste the table in as an image, but that means loosing functionality.

Anil_Babu_Samineni

I never used, nprinting. But, in html code do you used correct path path of image. Can you copy image section of div to notepad and use this chrome to open that file and check whether the image is coming up or not.

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Anonymous
Not applicable
Author

Ah, very good point!  These images are on my local directory, so they cannot be displayed on a browser. 

I've tried testing it with an image I uploaded to imgur, but the images are still not displaying.  I've checked that the file path is correct, as the <img src = "link"> tag does work on the file.

RonaldDoes
Partner - Creator III
Partner - Creator III

Hi Henry,

I circumvented a similar issue by manually uploading the images to the webserver the HTML-reports are pushed to and just referencing them in the report.

This would of course need to be accessible to al receipients of your email.

With kind regards,

Ronald

Anil_Babu_Samineni

Great, you liked it !!

And id nprinting supports then I believe it should work. Can you give absolute path using directory like ../../../filename.png... then we can look the part where it is not working..

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Anonymous
Not applicable
Author

This is the absolute file path, and should populate the cell on the top right, under the header "TP Image".  In Qlik, the cell is represented as an image (which does work).

https://travisperkins.scene7.com/is/image/travisperkins/K0661_287611_00?defaultImage=travisperkins/m...

The result is this, though:

tp image.PNG

Ruggero_Piccoli
Support
Support

Please note that you can embed HTML reports into email bodies in Qlik NPrintin 16.*. This feature will be supported in Qlik NPrinting 17 starting from next release November 2017 (17.5.0).

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Daniel_Jenkins
Specialist III
Specialist III

Hi Henry,

Just so you know, many report types allow you to specify an alternate format for the final report. So, you can build an Excel report (as in the examples linked to above) and specify the final format to be HTML - and embed that into the body of your e-mail message (currently available only in version 16).

HTH - Daniel.