Skip to main content
     This my code display image: 

 

<apex:image width="100p" height="100p" value="{!URLFOR($Resource.ProductImage, 'ProductImage/' & row.ImageName__c)}"></apex:image>

If i login to salesforce and run it display ok.

View html of control:

<img src="/resource/1528944622000/ProductImage/ProductImage/1.jpg" height="100p" width="100p">

If i not login to salesforce and run, it can't display image.

View html of control:

<img src="/demo1/resource/1528944622000/ProductImage/ProductImage/" height="100p" width="100p">

i had set Cache Control of  resource [ProductImage] is Public

Why can't display image on public site from Static Resouce?

                

              
6 respuestas
0/9000