I wouldn't try to fix your image sizes using code, because it seems like your images are massive.
If you design an image at 1440px x 900px, & your monitor size is 1440 x 900px, then that's how big the image is in size, not resolution. A smaller screen will then try to see that width of 1440px...