You need to sign in to do that
Don't have an account?
Force.platform
display image in pageBlockTable
I have to display product image in pageBlockTable:
vf:
<apex:column>
<apex:image value="servlet/servlet.FileDownload?file={!p.Image__c}" height="50" width="50"/>
</apex:column>
image is stored in document:
url--https://c.ap6.content.force.com/servlet/servlet.FileDownload?file=0150K000006JMkx
but image is not displaying in columns properly
vf:
<apex:column>
<apex:image value="servlet/servlet.FileDownload?file={!p.Image__c}" height="50" width="50"/>
</apex:column>
image is stored in document:
url--https://c.ap6.content.force.com/servlet/servlet.FileDownload?file=0150K000006JMkx
but image is not displaying in columns properly
I used Id, still its not showing image properly
Hi Sagarika,
Try this
<img id="theImage" src="/servlet/servlet.FileDownload?file=0150K000006JMkx" width="220" height="55" alt="Description of image here"/>
Sagarika