VID-1906 Add support for per-page media gallery