Fix publication image wrapper, to fix missing contextual links in Biblio

#6050 
The bug (no contextual links) existed only when there was no image.