Have a rich text field called - snapshot__c
which has image in it. This field is inside custom object called obj__c
.
obj__c
has another field case__c
using lookup in it.
On a Vf page, I'm selecting a case and need to display the image (snapshot__c
). I am able to fire the query, but the image isn't just getting displayed. Instead getting something weird. Image for reference:
Query in controller:
con = [select snapshot__c from obj__c WHERE Case__c =: ex.case__c];
VF pageblock:
<apex:pageBlockTable value="{!con}" style="width:1200px;" var="c" rendered="{!if(showPB==true,true,false)}" border="2" title="Some Name">
<apex:column value="{!c.snapshot__c}" style="width:500px;" rendered="false" />
</apex:pageBlockTable>
Any alternative for apex:pageBlockTable
and/or apex:column
? Can I just use div
and how? What am I doing wrong? Pls help.