replace gallery node with album and video nodes