Something to keep in mind is that images should be resized and compressed before putting up on a website.
Figure out the largest dimensions you need to support and scale down your image to that size or double that size and use higher compression to support retina screens.
Ideally you would have different sizes of your image and use the <picture> element to specify the image to use based on the screen size. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture