An easy way is to have one pre-made display page that shows whatever photo is requested. The file name to be displayed is passed in the hyperlink.
http://showphoto.php?file1=photo1.jpg
A display page named showphoto.php has a few lines of PHP code that parses the hyperlink and displays the requested photo. Insert this code into the display page where you want the photo to appear. There can be other HTML on the page such as banners, text, centering tags, etc.
<?php
$file1=$_GET['file1'];
$imagetag="<img src=\"".$file1."\" alt=\"Alt text here\">";
echo $imagetag;
?>
This example assumes the file showphoto.php is in the same folder as the photo files.
The PHP code won't work on your computer so you'll have to upload to the server and test it from there.