Make "page.php" and include the files like:
include "image1.php";
include "image2.php";
include "image3.php";
But don't forget to store the images instead of outputting them.
You also could put the values in an $_SESSION, and use something like this:
" alt="" />
" alt="" />
" alt="" />