Adaptively downscale images to fit under the Twitter configuration size limit.