Added uploadDownsize()

Added uploadDownsize() function to proportionally reduce (if needed) the size of the image in terms of pixels and to compress it in terms of quality before upload.
Scope is trying to minimize the bandwidth usage and server workload to accomplish same task.

A recursive function to match a wanted filesize would be very nice...