>>7034058the background layer is literally just made to fit the smallest dimension scaled up, or squashed/stretched like this one
As well as a Gaussian Blur of 30
The border can be added from here as thick as the gap between the top of the original image & the full image