bug fix: we were linking to image and not hash in history