generate thumbnails

usage: <ip:port>/thumb?path=<path to img>
operation: generate thumbnail in 'thumbnail' folder