Added option to create thumbnails synchronously on uploadImage webservice