add border and shadow to image thumnail