We have below line in a VisualForce page.
<apex:image id="theImage" value="{!$Resource[customLogo]}" />
CustomLogo is read from Custom settings (Name of the static resource). This works perfect in Managed Package Development.
Once installed in a subscriber org, it's giving error,
Static Resource named testimage does not exist. Check spelling
But it does exist, when you create a VF page (below) with same code, it runs with no error.
<apex:page >
<apex:image id="theImage" value="{!$Resource['testimage']}" />
</apex:page>
Any thoughts why this is happening? and any workarounds to fix this please. Appreciate any help.
Custom Setting
?