How to get path url of image from Static Resource in Apex class Get link Facebook X Pinterest Email Other Apps December 03, 2019 String imageURL = URL.getSalesforceBaseUrl().toExternalForm() + PageReference.forResource('resourceName').getUrl(); System.debug('Here is image url:'+ imageURL ); Read more