Forgot to copy thumbnail changes over to the upload code