The tag img
should look like this:
<img src="static/images/{{ employee.profile_image }}" alt={{ employee.name }} width="120" height="90" />
, employee.profile_image
- static/images/
profile_image
, , Jinja2 default
.
<img src="static/images/{{ employee.profile_image | default('profile.jpg') }}" alt={{ employee.name }} width="120" height="90" />