jpeg quality parameter added for the image conversion
multiprocessing added for the image upload