I am currently working on a website for an artist, making the galleries a key aspect. The website is built using Bootstrap, with the Lightbox for Bootstrap plugin being used for the galleries. Everything seems to be working well in terms of adjusting the image width for different resolutions to ensure maximum responsiveness. However, there is an issue when clicking on vertical photos, such as the one in the second row and second column, where the image opens larger than the screen, requiring scrolling to view it fully.
Therefore, I am seeking a solution to this problem by setting a maximum height for the image that matches the height of the screen. I have been struggling to find a way to achieve this adjustment. Do you have any suggestions for a simple way to approach this? To view the issue for yourself, the website has been uploaded to a server at this link:
Thank you for your assistance.