title: How to create a proper photo album application in PHP?
body: <p>I've worked with photo albums before, and I've found 2 methods of managing them through PHP:</p>
  
  <ol>
  <li>Store the images in the database 
  or</li>
  <li>Store them in the filesystem</li>
  </ol>
  
  <p>Each has its own advantages and disadvantages.</p>
  
  <p>With the database, I can store the time of the upload, where it was uploaded from, etc.
  It's harder to do something like that with the filesystem (like a manifest.json file for non-file related data).</p>
  
  <p>But with the filesystem, it just feels nicer for some reason, because, you know, photos are images, and are meant to be stored in a filesystem. Just feels right.</p>
  
  <p>But what is the <strong>proper</strong> way of making a photo album that displays things like:</p>
  
  <ol>
  <li>The photo (of course)</li>
  <li>The time it was uploaded</li>
  <li>Who you are with/want to tag (or a general caption)</li>
  </ol>
  
  <p>etc.</p>
  
  <p>What is the RIGHT way of going about this?</p>