title: Data Base Design for Images
body: <p>I would like your advice regarding Data Base design.
  I have 4 different data elements (tables A,B,C,D) example:
  A - Contents
  B - Categories
  C - Authors
  and
  D - Images</p>
  
  <p>Every record in tables A,B,C could have associated 1 or more different Images in Table D,
  BUT for every image in D must be uniquely associated only a record in A,B,C.
  This means that images cannot be shared (between others tables).</p>
  
  <p>My idea was to create different Image tables for every data elements, using ONE to MANY association type.
  Example:
  Content --> Image-Contents
  and
  Categories --> Image-Categories</p>
  
  <p>Questions?
  My database design is a good one?</p>
  
  <p>Since Tables "Image-Contents" and "Image-Categories", could have similar property like "File-Url" or "Image-Title", I was concerning if could be exist a most suitable database design solution.</p>
  
  <p>Thanks for your time</p>