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
Mitesh SuraMitesh Sura 

Image on VF page where rendered as PDF

Need some help with images on PDF. There are few posts on developer forum but none seem to be help. I have a image stored on external server which is showing in Salesforce UI, but not on PDF. 
 
Here are the scenarios I tested
- VF render as PDF and image on static resource - WORKS
- VF render as HTML and image on external server - WORKS
- VF render as PDF and image on external server - DOES NOT WORK
 
Image size is 26kb and external domain is stored under remote site settings. Has anyone come across this? 
Magesh Mani YadavMagesh Mani Yadav
Hi Mitesh,

I had similar issue but after adding remote site setting it works.Did you check in your remote site setting whether it matches HTTP/HTTPS
Mitesh SuraMitesh Sura
Hi Mangesh,
Remote site has http://www.mywebsite.com and actual image link is www.mywebsite.com/image.jpg
Magesh Mani YadavMagesh Mani Yadav
Did u check whether your actual image link is hosted in Https or Http