react js path for image inline from folder code example Example: how to write img jsx <img src={window.location.origin + '/img/myImage.png'} />