title: Correct way to declare an image field, sqlalchemy
body: <p>I am trying to build and app with flask, I have seen some tutorial and books and some code[1] they explain how to declare integers and string for the database setup. However, they do not explain how to store images. I am very confused now I though the natural way to store images was on a database, but reading some documentation on the flask site[2] the filesystem is the place to store images. I just make a first assumption reading a flask development book that a declaration with largeBinary would be the correct one, but this is just my guess as you can see in the code below. can somebody help me to figure this out? if what I ask is not clear please let me know. </p>
  
  <pre><code>Class User(Base):
      __table__ = 'user'
  
      id = Column(Integer, primary_key = True)
      name  Column(String(80), nullable=False)
      email =  Column(String(250), nullable=False)
      image = Column(LargeBinary, nullable = True)
  </code></pre>
  
  <p>[1]<a href="https://github.com/lobrown/Full-Stack-Foundations/blob/master/Lesson_1/database_setup.py" rel="noreferrer">https://github.com/lobrown/Full-Stack-Foundations/blob/master/Lesson_1/database_setup.py</a>
  [2]<a href="http://flask.pocoo.org/docs/0.10/patterns/fileuploads/" rel="noreferrer">http://flask.pocoo.org/docs/0.10/patterns/fileuploads/</a>      </p>