A simple image uploader and media gallery implemented in PHP