HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › Attachments in Evaluation Mode › Reply To: Attachments in Evaluation Mode
September 6, 2023 at 13:31
#37087
Hi,
attached is a sample, the attachment only opens in Acrobat Reader; It is not in Edge, Chrome and Safari don’t.
This is how I attached the file, it’s straight from the example from the pd4ml documentation.
pd4ml.injectHtml(“
”
+ “<pd4ml:attachment style=\”align: right\” type=\”paperclip\” description=\”test-image.jpg\” src=\”c:\\temp\\test-image.jpg\”/>”
+ “
+ “<pd4ml:attachment style=\”align: right\” type=\”paperclip\” description=\”test-image.jpg\” src=\”c:\\temp\\test-image.jpg\”/>”
+ “
“, false);
Is there a way to make this work in web browsers?
Thanks
Bernd