why is my react path foing to mypictures? code example Example: how to write img jsx <img src={window.location.origin + '/img/myImage.png'} />