How can I have an image gallery on a newsfeed LFD?

Hi, I need some help setting up an image gallery to open in the detailed view on a newsfeed list from data source.

I have seen this in other apps but cannot replicate it on mine, I can upload multiple images via the form but they are not displayed as a gallery in the newsfeed detailed view.

Is there a bit of code I can use for this to work?

Thanks in advance for the help.

Hello @Carina :slightly_smiling_face:

You must take the following steps in order to set up an image gallery that opens from a newsfeed list in a detailed view:

  • Make sure there is a field for numerous photos in your data source. Every image needs to have a path and url.
  • Provide a means; like a view more button; for users to get the detailed view from the newsfeed list view.
  • Get the photographs and show them in the detailed view. To develop a layout for a gallery, use html and css.
  • Make sure your code displays the image url in the detailed view correctly and constantly gets them from your data source.