Sure. Just place your picture, and then with the picture selected, use the scissor tool (in the tool box) and click on two of the corner handles. Using the direct-select tool (white arrow) select the segment between the two handles you cut, and delete. now you can select the picture again, and give it any type of stroke you want.
Hope that helps.
Are you sure about that, Mikey?
In my experience you can remove one side of a frame and it will continue to show uncropped content as if the side were still there, but if you try to remove tow adjacent sides you will have a triangular crop using an invisible line joining the remaining endpoints, and removing opposites sides doesn't work at all, so if you want a troke on two sides you need to creat that separately form the frame holding the image, then group.
Ah, thank you, Peter!
Your are indeed correct. I was just removing one edge (3 sided frame), and it worked as I imagined; didn't try to remove two, though. Thanks for the clarification
OK, that's pretty clever, and it could be easily adapted to do two adjacent or two opposite sides, too, I think, or even one side, though I'm not sure you can control which sides are stroked or not without rotating the frame and then counter-rotating the content.
I use it most often with one side when I have footnotes in a separate
frame (when I can't use InDesign's native footnotes). I use it as the
You can control which sides the stroke starts at by drawing the frame
with the pen tool. The side you start drawing is where the stroke style