Image is not visible (source is not recognized)
问题 I'm making a simple web-app in React.js (+ Spring in back). I have problem with displaying a photo (.img) from local path in function displayItems . Picture is not visible. If i load file from web in the same code (src="http.......") everything is fine. Could you help? import React, { Component } from 'react'; import '../index.css'; class Author extends Component { constructor(props) { super(props); this.state = { mail: window.location.href.slice(32, -7), items: 2, loadingState: false }; this