Image URLs not working when embedding React into an HTML page

constructed the app, created a react component, and uploaded the finished product to a public AWS S3 bucket. After that, I added the script to a standard HTML page (on a different domain). Everything functions perfectly, but the react app cannot locate the photos.

How could I fix this issue?

You are probably linking the images incorrectly inside of the react app. Could you share your current image url you are using inside of AWS