save thumbnail (see description)

for each image uploaded via a message, a thumbnail is created and saved
in php/upload/thumbnail