How to optimize 40+GB of HD images on the website?

I am upgrading and maintaining a portfolio site of a photographer but due to the sheer amount of data on the website, it loads very slowly and even doesn’t display some of the media. I can’t compress the images since it’s a wedding photographer’s portfolio site.
The hosting service is ionos.
So, how do I optimize for website to solve the slow loading issue?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer