Php and Java script

Next steps: center photos.
Shadow box pop out.