Python Flask Basics Templates and Static Files Static Files

Adam Fournace
Adam Fournace
2,814 Points

Flask app not displaying new images added to static folder

Link to music.jpeg works but link to mountainview3.jpeg doesn't work. I cannot find an answer on Google and am stumped. Thanks for any help!

% extends "layout.html" %
{% block content %}
    <div col="md-4">
    <h1 class="text-center mb-4">Music</h1>
    <img  class="mb-4 img-fluid rounded d-none d-sm-block h-25 border"  src="{{url_for('static', filename='music.jpeg')}}">
    <img  class="mb-4 img-fluid rounded d-none d-sm-block h-25 border"  src="{{url_for('static', filename='mountainview3.jpeg')}}">
    </div>
{% endblock content %}