front: Eliminate GalleryItem dependency on ROM database.