When I download a form, the logo and any custom HTML pictures do not show up in the PDF, only an empty box is in it's place. These show up in preview and production as well as the repository.
Question
Question
Replies
Can you post the actual HTML for us, so we can see how your calling the image?
Images to be displayed on the form, I am simply adding a Custom HTML section and adding the image via the insert picture button. I guess I am assuming that in using this process, the image is then uploaded to the appropriate folder on the Forms server. The custom logo has been added to the following path/directory on the Forms server: c\Program Files (x86)\Laserfiche\Laserfiche Forms\Forms\img\Theme.
interesting. I would have thought the seal image is not being saved due to it not being close enough to the server when it generates the PDF. but now with the logo also not appearing, that may not be the only issue at play. Have you tried making a completely new form and seeing if you can get it to save properly? Just a small 1 step form. Also, are you using the service task in the process modeler to save the items?
Actually, the problem does not present itself in the document that is saved to the repository or if you select print from the submission screen. It is only if you select download, which opens the document in a PDF. What actually brought this to the forefront was we need to print a copy of the document to give to the new member. When you select print, it prints on 3 separate pages and isn't really aesthetically "pretty". But, when you select download and print from the PDF, the aesthetics are as they are supposed to be, but the Logo and signatures don't show up but the seal does. All 4 images are less than 400k .jpg files.
When you add an image through the Custom HTML element, it turns the image into base64 encoding, so to my understanding an actual image isn't stored on the server:
Also, can you upload the .xml export of the form?
Here is the xml of a completed test process, as well as the pdf that is created when "download" is clicked and the tif that is stored in the repository.
<?xml version="1.0"?> -<dataset> <_initiator>MCRECC\gwilliams</_initiator> <_initiator_displayname>gwilliams</_initiator_displayname> <_initiator_uid>3</_initiator_uid> <_initiator_sid>S-1-5-21-1145666491-1226599560-227697207-74075</_initiator_sid> <_initiator_email>gwilliams@mcrecc.com</_initiator_email> <_initiated_time>2015-04-20T18:02:05.0593558-00:00</_initiated_time> <_instance_id>4240</_instance_id> -<Address s_id="4494" m_path="156" a_id="150" e_id="29" type="complex" m_id="156"> <Address1 s_id="4494" m_path="156.157" a_id="151" type="text" m_id="157"/> <Address2 s_id="4494" m_path="156.158" a_id="152" type="text" m_id="158"/> <City s_id="4494" m_path="156.159" a_id="153" type="text" m_id="159"/> <Country s_id="4494" m_path="156.162" a_id="156" type="text" m_id="162"/> <Postal s_id="4494" m_path="156.161" a_id="155" type="text" m_id="161"/> <State s_id="4494" m_path="156.160" a_id="154" type="text" m_id="160"/> </Address> <Applicant s_id="4494" m_path="154" a_id="148" type="text" m_id="154"/> <Date s_id="4494" m_path="153" a_id="147" type="datetime" m_id="153">2015-04-20</Date> <Date_1 s_id="4494" m_path="169" a_id="163" type="datetime" m_id="169">2015-04-20</Date_1> <Member_s_Name s_id="4494" m_path="168" a_id="162" type="text" m_id="168"/> <Member_Signature s_id="4494" m_path="338" a_id="338" type="text" m_id="338"/> <Membership_ s_id="4494" m_path="340" a_id="340" type="text" m_id="340">90880</Membership_> <Membership__1 s_id="4494" m_path="378" a_id="378" type="text" m_id="378"/> <Spouse s_id="4494" m_path="163" a_id="157" type="text" m_id="163"/> <Spouse_Signature s_id="4494" m_path="339" a_id="339" type="text" m_id="339"/> <Spouse_SS_ s_id="4494" m_path="372" a_id="372" type="text" m_id="372"/> <SS_ s_id="4494" m_path="371" a_id="371" type="text" m_id="371"/> <_submission_id>4494</_submission_id> <_submission_ip_address>192.168.40.60</_submission_ip_address> <_action>Submit</_action> <_comment/> <_submitter>MCRECC\gwilliams</_submitter> <_submitter_displayname>gwilliams</_submitter_displayname> <_submitter_email>gwilliams@mcrecc.com</_submitter_email> <_submission_time>2015-04-20T18:02:05.1384506-00:00</_submission_time> <_submitter_uid>93</_submitter_uid> <_submitter_sid>S-1-5-21-1145666491-1226599560-227697207-74075</_submitter_sid> <_process_id>15</_process_id> <_process_name>Main Process</_process_name> <_bp_process_id>12</_bp_process_id> <_bp_process_name>Membership Application</_bp_process_name> <Single_Line m_path="122" a_id="113" type="text" m_id="122"/> <Single_Line1 m_path="123" a_id="114" type="text" m_id="123"/> <Single_Line2 m_path="124" a_id="115" type="text" m_id="124"/> <Membership_Number m_path="152" a_id="146" type="float" m_id="152"/> <SS_Number m_path="155" a_id="149" type="float" m_id="155"/> <SS_Number_1 m_path="164" a_id="158" type="text" m_id="164"/> <variable m_path="165" a_id="159" type="text" m_id="165"/> <V____currentuser_display_ m_path="166" a_id="160" type="text" m_id="166"/> <variable_1 m_path="167" a_id="161" type="text" m_id="167"/> <MEMSEP m_path="368" a_id="368" type="text" m_id="368"/> <MEMSEP_1 m_path="369" a_id="369" type="text" m_id="369"/> </dataset>
can you upload the actual .XML file?