Bare bones dynamic PHP web gallery