function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Image thumbnail on preview/list, larger image on details



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.


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.


Thank you, Suyog.


Any ideas about thumbnails / resizing?




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.