Correction on the generation of the cropped image and the url returned. It was returning the url of the original image.