wrap images in borders