Media repository

Implement a media repository with image thumbnails.