I am also facing similar issue, i am using a wordpress plugin webstories,
in that image cropping is provided for logo,once cropping done ,instead of amazon s3 url local url is coming ,but the actual cropped image got saved in amazon s3.How to get the amazon s3 url in this case.if we are not cropping the image the plugin returns the amazon s3 url correctly.