I'm able to load an image on a Visualforce page using either tag below:

<img id="theImage" src="{!URLFOR($Action.Attachment.Download, attachment.id)}"/>

<apex:image url="/servlet/servlet.FileDownload?file={!attachment.id}"/>

The same Visualforce page loaded in Salesforce1 is unable to display the image, is it possible to load such an image in SF1 from my Visualforce page?

1 Answer 1


We realized that our photos were not completely uploading, so only 2/3 of the photo was being downloaded to the page. In iOS9 this is not an issue, but in iOS10 the partial photo was not be displayed.

Once we fixed our photo upload to make sure the entire photo was uploading, the photos showed as expected.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .