A
A
Andrew2020-08-14 21:37:33
Flask
Andrew, 2020-08-14 21:37:33

How to display an image from a database to a template?

How to correctly render an image to a template from a database in Flask (SQLAlchemy)?
What to write in?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekssamos, 2020-08-15
@iNeedNew

The file name and path must be written to the database. Pictures are stored on disk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question