imgix offers high-DPR (device-pixel ratio) support to ensure that you can serve the correct DPR for your fully optimized image to every user regardless of their device capabilities. These features are particularly effective when used along with imgix.js to generate srcset/size
sets for responsive design.
dpr
: This operation allows you to specify the DPR for an image in relation to the container size.- Client Hints: For browsers that support Client Hints, the
ch
operation (along with a meta tag to enable it) automatically determines the correct DPR for the image based on the specified width and the device. Thedpr
operation can be used as a fallback for browsers that don't support them.