Add backrefs to image relations