There are a few ways to create a border around an image in Photoshop. One way is to use the “border” filter. This filter creates a line of pixels that are different colors depending on their location within the image. You can also use the “line” filter to create a line of pixels that are different colors.