Style → Image Settings → Override Image Border Radius (off by default). That is the photo only. Panel stroke is Override Module Inner Border. Panel corners are Override Module Inner Border Radius, which is independent of the stroke. The photo does not inherit the panel border or the panel radius.
Review SW CTA Popup Events for the matching settings and examples.