Remove page/image relationship hardcode