There's lots of ways to do this - here's one if you want a same-size border all around.
Select the entire image (ctrl a), go to file - edit - stroke, select a width that you are looking for in pixels, select white as the color and inside your 'marching ants', done!
Or if you don't want to cover up any of the image, make the image bigger by increasing the canvas size with white as a background color.
Hope one works for you...
There's a little 'gotcha' with using Canvas size to add a border in that it changes the aspect ratio, which can be a problem if using a print house. If, for instance, the print house expects 6 inch x 4 inch, using arbitrary dpi by way of demonstration:
600 / 400 = 1.5
Add a 50 pixel border to the canvas
(600+100) / (400+100) = 1.4
Assuming the image is the correct aspect ratio, the way round it is to Add the Canvas, then crop with the crop tool set to the required aspect ratio. This will leave you with a narrower border on the long sides, so now select all and stroke the Inside with the same border size. You now have the same aspect ratio you started with.
Trevor Dennis wrote:
Thanks Station. I had seen and fixed it, and it's a good day when I only mke one typo in a post :-(
I find myself editing posts, sometimes over and over. I find the machine-like typing precision of my youth harder and harder to attain.
This is a bit of work at first, but you can make a few templates i.e. 5x7 and 8x10 sizes keeping them as PSD's and then drop your image in and free transform both the size of the border and your image.
Start with your full size (non-cropped) image and have it ready to go. Next, get a new blank image (ctrl N) and make it the finished size you want your image to crop to, like 8x10, at say, 250 dpi for printing. Do a "save-as" to make this a PSD and name it "8x10 temp" (or something like that). Show your grids (ctrl " key) and then make a rectangle shape using the rectangle tool (of any fill color) in your blank image using the grids to guide you with equal border all around. You can always free transform it later if you want to change the size.
Now drag your photo that you have ready on your desktop onto this blank image. Hit ctrl - alt - G and it will drop underneath your border/mat. Free transform your photo that is now under the border/mat to get it cropped the way you like. You can free transform the border if you like, flatten it and save it as a jpeg for printing. You'll still have your PSD that you can reuse over and over.
Sounds complicated, but it's really easy.
Blimey, that is a ton of work to achieve a simple thing, and not something easily turned into an action. The steps I outlined in post #2 would easily go in an action.
Wow ! My first post as a new forum member trying to help and I get THAT response . . . we all know there's more than one way to do anything in Photoshop. I feel it's a very versatile action to learn and can be used for so many things. Once you know how, it's so quick. I hope Polarisbear will at least give it a try !
Or, you could just stroke the border with white...
I recommend doing this non destrucively by creating a new layer above everything and using the Layer Effects Stroke tool to create a border. Alternatively you could use the shape tool and a vector mask to make a much more crisp and precise border.