+ Start a Discussion
sfdc guru 17sfdc guru 17 

Visualforce Page Design

Hi All

I have created a custom object which is having image for every record.so how to create a vf page for displaying all image .

User-added image
LBKLBK
You mean a list page?

You can add thumbnail to the table itself.

If you can use jQuery or other Frameworks to create tiles instead of grid as well.
Siva SakthiSiva Sakthi
Hi,

You can try this, It may helpful.
 
VF Page:
--------
<apex:page controller="JewelController">
<apex:form>
  <apex:pageBlock >
      <apex:pageBlockSection title="Jewel Record">
          <apex:pageBlockTable value="{!Jewel}" style="width:1200px;" var="j" border="2" title="Jewel Box">
              <apex:column value="{!j.Image__c}" style="width:250px;" />              
          </apex:pageBlockTable>
      </apex:pageBlockSection>
  </apex:pageBlock>
  </apex:form>
</apex:page>

Controller: 
-----------
public with sharing class JewelController {
    public List<Jewel__c> getJewel() {
        List<Jewel__c> j = [Select Image__c from Jewel__c];
        return j;
    }
}
Please mark this as Best Answer if it helps you!

Thanks
Siva
 
sfdc guru 17sfdc guru 17
Hi Siva Its showing one by one column wise but my requirement is row wise Thanks & Regards, *Maheswar Pradhan,* *Sr. Salesforce CRM Consultant |** SGN Software (P)Ltd* Mob :+91-8450887957* |* Email: maheswar.pradhan@sgnsoftware.com