I need to display the images on the CRM Portal which are stored on Sharepoint integrated to Dynamics 365 as a gallery view.

I am able to connect with SharePoint and list the images in the portal, but it is being listed as file names and the user needs to download it inorder to view the image.

Is there any way to display them as a thumbnail or in a gallery in the customer portal?