I have an image with dimensions of 3051 x 1716 pixels.
https://i.sstatic.net/Y3Wi7m.jpg
While viewing it on mobile, I would like to adjust it to look like this without cropping the image or uploading it again:
https://i.sstatic.net/lJ1NSm.jpg
In other words, I just want to shift the horizontal center of the image and adjust the width based on the screen size, considering it's a mobile screen.
Is there a way to achieve this?