def METHOD_NAME(ibs, glrid_list):
    """get the image_rowid belonging to each relationship"""
    image_rowids_list = ibs.db.get(const.GL_RELATION_TABLE, ('image_rowid',), glrid_list)
    return image_rowids_list