# PhotoGallery

## PhotoGallery

A responsive and dynamic photo gallery web application built with Spring Boot and Thymeleaf, featuring a modern masonry-style layout for images of varying sizes. This application is optimized for performance and usability, providing a smooth experience on both desktop and mobile devices.

Features:
    - Masonry Grid Layout: Automatically arranges images of different sizes in an aesthetically pleasing masonry-style grid.
    - Lazy Loading: Images load as you scroll for faster initial load times and better performance.
    - Fullscreen Modal Viewer: Click an image to view it in fullscreen with previous/next navigation.
    - Responsive Design: Fully mobile-friendly using Bootstrap 5.
    - Dynamic Image Loading: Supports adding new images dynamically from the backend without changing frontend code.
    - Hover Effects: Smooth zoom and shadow effects for a modern look.

Technologies Used:
    - Backend: Spring Boot, Java, Thymeleaf
    - Frontend: HTML, CSS, Bootstrap 5, JavaScript
    - Database: H2 / MySQL (via Spring Data JPA)
    - Build Tool: Maven