cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to display images in Repeater using Value Display widget ?

alekhya
6-Contributor

How to display images in Repeater using Value Display widget ?

Hello,

 

I have a File Repository Thing where it contains a folder with certain images in Storage.

I have to display the images in Repeater Widget.

It should contain 'n' number of columns as 'n' number of images a folder contains.

Is there any way to do?

 

Thanks for support !

 

 

ACCEPTED SOLUTION

Accepted Solutions
AdamR
14-Alexandrite
(To:alekhya)

You would need to create a service to read the images from the repository, this would be done with the LoadImage service on the repository thing.  From there create an infotable that has a column of type image image and add each image to the infotable row.

 

Return this infotable from the service and bind it to a repeater that has the value display (and the mashup parameter of type image).  You can set the repeater "View" property to horizontal to get the images as columns.


Thanks,

Adam

View solution in original post

3 REPLIES 3
AdamR
14-Alexandrite
(To:alekhya)

You would need to create a service to read the images from the repository, this would be done with the LoadImage service on the repository thing.  From there create an infotable that has a column of type image image and add each image to the infotable row.

 

Return this infotable from the service and bind it to a repeater that has the value display (and the mashup parameter of type image).  You can set the repeater "View" property to horizontal to get the images as columns.


Thanks,

Adam

Maybe better, the exact same approach as Adam said, but instead of LoadImage (which will require a lot of memory to work) just get the FileRepository file Link (GetFileListingWithLinks) and use the Link to set the image with IMAGELINK instead of IMAGE.

slangley
23-Emerald II
(To:CarlesColl)

Hi @alekhya.

 

If one of the previous posts provided an answer to your question, please mark it as the Accepted Solution for the benefit of others who may have the same question.

 

Regards.

 

--Sharon

Announcements


Top Tags