Salesforce Asked by DSK on October 3, 2020
I have uploaded image to static resource. i just want to display it on the visual force componet (apex:component) . i tried this way <apex:image id="theImage" value="{!$Resource.myResourceImage}"
width="200" height="200"/>. but still image is not rendering in the ui.
Thanks in advance
Hello below code is working for me Please try this
<apex:page >
<apex:image value="{!URLFOR($Resource.vfimagetest,'cats/kitten1.jpg')}"/>
</apex:page>
Answered by Sahil Malhotra on October 3, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP