Simple Photo Gallery made while following a Beyond The Basics PHP tutorial