A simple, local image only, thumbnail generation script written in PHP