title: Serve image stored in SQLAlchemy LargeBinary column
body: <p>I want to upload a file and store it in the database.  I created a LargeBinary column.</p>
  
  <pre><code>logo = db.Column(db.LargeBinary)
  </code></pre>
  
  <p>I read the uploaded file and store it in the database.</p>
  
  <pre><code>files = request.files.getlist('file')
  
  if files:
      event.logo = files[0].file.read()
  </code></pre>
  
  <p>Is this the proper way to store an image as binary in the database?  How do I convert the binary data into an image again to display it?</p>