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
stollmeyerastollmeyera 

Issues with PDF rendering image

I have gone to the end of the world and back searching for an answer to this, but no luck.  I added an image as a public static resource and am trying to render it in a PDF file.  When I do nothing shows up.  I know for a fact it is not a broken URL as it shows up just fine when I render as a normal visualforce page; the issue only seems to be happening when I render as PDF.  I have  tried two different methods to get the image to display, referenced below:

 

<apex:image style="align='left'" id="mblogo" value="{!$Resource.mblogo}" width="276" height="63"/>
<img align="left" src="{!$Resource.mblogo}"/>

 

 Regardless of what I do, the image does not display on the resulting PDF file.  Any suggestiions?

TheSwamiTheSwami

Can you attach the image here?

 

Are you using Sites?  My Domains? A Developer Namespace?