[wip] Use image data from database instead of relying on local files.

#726 

- [x] Migrations.
- [x] Store image data.
- [x] Use image data in views.