title: How can I display local images if I don't know their location before runtime?
body: <pre><code>var imageSource = require('./images/test.png')
  &lt;Image source={imageSource} style={s.userPic} /&gt;
  </code></pre>
  
  <p>That works great, but I need to show local photos just taken with the device (iPad) camera, so I won't know the local file location, stored in "user.imageLoc"...</p>
  
  <pre><code>var imageSource = eval("require('" + user.imageLoc + "')")
  &lt;Image source={imageSource} style={s.userPic} /&gt;
  </code></pre>
  
  <p>But that doesn't work. "Unknown module named (insert file location here)"</p>
  
  <p>How can I display local images if I don't know their file name/address before runtime?</p>