Adding border classes to image on node display