I'm currently facing a challenge in ensuring that an image remains the same size (250 pixels) across all devices and browsers. The issue lies with the device pixel ratio, where on devices with a ratio higher than 1, the image appears tiny until zoomed in, similar to how it would appear on a regular browser.
My main query is whether there exists a way to maintain a consistent actual size for the image using CSS or, if necessary, JavaScript. Can the size be fixed without allowing it to get any smaller or larger?