+ Start a Discussion

Output fields from multiple contact records in one visualforce page (end result is photo directory)

We are using a rich text field called "Photo" on the contact record to display a photo of our students.  We are trying to create a photo directory that looks like what I have below, but that will automatically update if the photo on the contact record is changed.  Also the name beneath the photo should be updated if the contact's name changes.  Is it possible to create dynamic output fields that pull from many different records?  Please help if you can.  Also, I've attached the first bit of the code I used the create the visualforce page you see below.





<apex:page >
<apex:panelGrid columns="5" id="Grid" cellspacing="10" style="text-align:center">
<apex:image value="/servlet/rtaImage?eid=0038000000pNGC4&feoid=00N80000004jxdb&refid=0EM8000000000MW"/>
<apex:image value="/servlet/rtaImage?eid=0038000000jKEiu&feoid=00N80000004jxdb&refid=0EM8000000000RS"/>
<apex:image value="/servlet/rtaImage?eid=0038000000fW3Jn&feoid=00N80000004jxdb&refid=0EM8000000000RI"/>
<apex:image value="/servlet/rtaImage?eid=0038000000tiK9z&feoid=00N80000004jxdb&refid=0EM8000000000QE"/>
<apex:image value="/servlet/rtaImage?eid=0038000000rxa0l&feoid=00N80000004jxdb&refid=0EM8000000000Ow"/>
<apex:outputLink value="/0038000000pNGC4">Noreen Alladina</apex:outputLink>
<apex:outputLink value="/0038000000jKEiu">Ken Andersen</apex:outputLink>
<apex:outputLink value="/0038000000fW3Jn">William Arnold</apex:outputLink>
<apex:outputLink value="/0038000000tiK9z">Gregory Ayers</apex:outputLink>
<apex:outputLink value="/0038000000rxa0l">Austen Bannan</apex:outputLink>





                      It might be a silly question to ask but i m facing problem when posting any query in the force.com Discussion Boards i unable to stamp the images. In tried many time but i unable, can u tell me the procedure to stamp the images.

I dont know from where it takes images, in the browse field i gave the path of the image located in my system but it doesn't shows....


Thanks in advance...