function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ulas KutukUlas Kutuk 

Image display problem on PDF

Having an issue when I try to display images (via external link) on VF page renderAs="PDF".
Its is totaly fine if I remove displayAs"PDF".
Anybody knows is this exoected or know issue ? 

Not Working
<apex:page renderAs="PDF">
  <apex:image value="http://myexternalURL.jpg"/>
</apex:page>
Working Fine
<apex:page>
  <apex:image value="http://myexternalURL.jpg"/>
</apex:page>


 
sfdcsushilsfdcsushil
Please check this

https://developer.salesforce.com/forums/?id=906F000000094UNIAY
TabrezTabrez
Hi Ulas,

I also faced the same issue.

To display images in PDF please do the following steps:

1. Download the image and update same image in static resources.
2. Paste this below code (wherever you want to display image):
 
<div style="float:left;">
<apex:image value="{!$Resource.imagelogo}"/>
</div>

Hope it will answer your question.

Regards,
TabreZ
Ulas KutukUlas Kutuk
Tabrez, thanks. Looks like SF does not support external URLs for PDF