My logo.jpg which is stored in /home/sally_venka/upload is not appearing.
This is my file index.html:
<body>
<html>
<form method="GET" action="/show_index1">
<img src="{{ user_image }}" alt="User Image" width="200" height="85">
</body>
</html>
This is my file server.py:
UPLOAD_FOLDER1 = os.path.join('sally_venka', 'upload')
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER1
@app.route('/show_index1',methods=['GET'])
def show_index1():
full_filename = os.path.join(app.config['UPLOAD_FOLDER'], 'logo.jpg')
render_template("index.html", user_image = full_filename)
return redirect('/')