function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Priyanka ChandrakanthPriyanka Chandrakanth 

Static Resources

Hello,

I have uploaded a jpeg image as static resource to refer in my visualforce page. However, it doesn't display the images, instead it shows as given below. Any help is appreciated! Thanks in advance.

User-added image
YuchenYuchen
Just wonder how did you refer to this image in your Visualforce Page. If the Image is called theImage in the Static Resource, you can refer to it using <apex:image value="{!$Resource.theImage}">, or try <apex:image url="{!$Resource.theImage}">.
Priyanka ChandrakanthPriyanka Chandrakanth
Hello Yuchen,

Thank you very much for you response. I was not specifying the path to sub folder in my zip file, that caused this issue.