Flask not serving image
<p>I have a form where users upload a file and its path is stored in a database and the file is stored in <code>'/static/uploads/images/'</code>.</p>

<p>Now in my templates when I call for that image to be displayed I am doing this: <code>&lt;img src="{{ asset_info.picture_location }}" /&gt;</code></p>

<p>The <code>picture_location</code> is the column where the path is being kept.  The <code>asset_info</code> is the model object.</p>

<p>For some reason it is returning a 404 when attempting to retrieve the image:
<code>GET /static/uploads/images/motor.gif HTTP/1.1" 404 -</code>even though that is the correct path and I can see the file in there.</p>

<p>Inspecting the url of the broken image icon on the page shows it is retrieving the correct path from the database: <code>http://localhost:5000/static/uploads/images/motor.gif</code></p>

<p>The response on the client brower says this:</p>

<p><code>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</code></p>

<p>I've googled around quite a bit but have not had any luck.  Is there a separate method I'm supposed to call / build to serve images?</p>

<p>This blueprints info: <code>assets_blueprint = Blueprint('assets', __name__, static_folder='/static', template_folder='templates')</code></p>

<p>Directory is:</p>

<pre><code>app/
    assets/
        views.py
        asset_models.py
        asset_forms.py

    other_blueprints/
        etc.py

    static/
        uploads/
            images/
                motor.gif

app.py
config.py
</code></pre>