A custom photo gallery in PHP/JS/HTML/CSS