VID-1907 Logic to display the new galleries

`$this->mData['params']['type']` may not always exist