Create a thumbnail when objects get uploaded.