Adding crop to fit option (square thumbnail) in create_scaled_image()

Adding "cropped" => true allow to crop your resized image keeping ratio.