load local image file and trimming, upload