Don't forget to check the DPR before resizing the image