+ Start a Discussion
JuanluJuanlu 

Image thumbnail on preview/list, larger image on details

Hi,

 

I'd like to know if there is a way to show an image thumbnail on preview/list and larger image when clickin on details. The idea is to use a Repeater which shows a list of records from a Custom Object. It should also show an image for each record. When clicking on a record, a new page with a larger image should be shown.

 

Is this possible at all?

 

And how do you associate an image to a record? Creating an specific field on the object?

 

Thanks in advance.

SuyogSuyog

You can create a field on object to store image url.

Then while creating a repeater element, choose image from first drop down and then in "Src field" choose the url field on object .

This will show up image associated with the record.

JuanluJuanlu

Thank you, Suyog.

 

Any ideas about thumbnails / resizing?

 

 

AddisonAddison

Hi Juanlu,

 

You could try one of the many javascript libraries like jQuery to dynamically resize through css manipulation based on mouse click, hover, etc.

 

Addison