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?

up vote 0 down vote accepted

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.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.