+ Start a Discussion

Broken Image with Visualforce renderas pdf

I am creating a visualforce page that renders as pdf and I am trying to include an image but am running into an issue.  I have tried to store the image in the static resources, as well as in a document folder but neither option works. 


When I am logged in as the system admin the image appears on the PDF, but if I log in as any other user it appears broken. 


Below is the code on the visualforce page for image:


From Document library:

     <apex:image value="/servlet/servlet.FileDownload?file=015S000000Hz2u" width="262" height="50"/>


From Static Resources:

     <apex:image value="{!resources.logo}" width="262" height="50"/>


Any help would be great!


Hello JO858;


 <apex:image value="{!resources.logo}" width="262" height="50"/> 

Change to 


<apex:image value="{!$Resource.logo}" width="262" height="50"/>