We tend to think of SharePoint as strictly a repository for business-type/Office documents, like Word, Excel, PowerPoint, PDFs. However, even in the business world, it is not just about the office documents
https://sharepointmaven.com/3-ways-store-images-sharepoint/
Images are expected on a SharePoint page and can often show details that otherwise would take, well, a thousand words. You can add images from your local computer, SharePoint media libraries, or links from other locations on your site or the web.
In this SharePoint Online tutorial, we will discuss on SharePoint Image Gallery web part.
https://www.enjoysharepoint.com/sharepoint-image-gallery-web-part/