program now rescales uploaded profile pictures for improved performance and better memory utilization