Photos are being correctly synced to online. However, the user is not able to access the photo after syncing. The user is able to access the attachment from online.
Set the following on the User Profile:
- Field Level Security (FLS) on Include_Attachments_vod__c field on VMobile Object Configuration object.
Note: Include_Attachments_vod__c determines if the mobile synchronization process synchronizes attachment information for this object.
Grant FLS on Include_Attachments_vod__c field for the user profile.