front: Modularize Rom lookup and apply to GalleryItem.