You need to sign in to do that
Don't have an account?
Harvin Vincent
Image is not displayed - while displaying PDF Content from SAP webservice
We have integrated with our SAP environment using web service. The SAP webservice returns PDF content which includes image. By using visual force page, the PDF is displayed.
(i) The PDF content is displayed properly
(ii) The image is not displayed in the PDF
In the visual force page, the PDF rendered by using this contentType="application/pdf". Please let me know any charset to be used to display the image.
Can anyone have idea to display the image in the PDF?
Thanks,
Harvin
(i) The PDF content is displayed properly
(ii) The image is not displayed in the PDF
In the visual force page, the PDF rendered by using this contentType="application/pdf". Please let me know any charset to be used to display the image.
Can anyone have idea to display the image in the PDF?
Thanks,
Harvin
While opening the attachment, the image is displayed properly.
Thanks,
Harvin
All Answers
basic mistake would be the path
<apex:image id="theImage" value="/img/myimage.gif" width="220" height="55"/>
<apex:image id="theImage" value="{!$Resource.myResourceImage}" width="200" height="200"/>
check them.
Thanks
D Naveen Rahul
Thanks for your reply. But here the issue the webservice returns binary pdf content. But the pdf content displayed properly but not image. Image is embedded in the PDF content.
Thanks,
Harvin
While opening the attachment, the image is displayed properly.
Thanks,
Harvin