Add gallery_type media helper