For the code in the thread you linked to, I’m not really sure how it would work. Maybe I missed something but I thought relative paths didn’t work with create-react-app/webpack. It would work if you added the Assets folder with the images inside the public folder but I didn’t see that mentioned in the thread.
I believe you can also do this. But I’m not sure if it’s a good idea.
<img src={require(`${imageArray[0].src}`)} alt="me" />
Maybe @DanCouper can give some clarification on the code posted in the thread you linked to.