Implement media gallery.