added the border to the image instead of css