You can see at the bottom of the sample that there is a gap between the bottom of the image and the border. I haven’t yet figured out how to remove it. I notice if I enable the ‘Reset Button’ option then it appears inside the border as well.
Is there a way to create a border only around the image?
Adding a border is not a feature of the stack. The way you’re adding a border encapsulates the entirety of the stack, which includes more than just the image.