Skip to main content

How does using DPR differ from setting multiplied dimension values?

Comments

3 comments

  • VersionPress Team

    Hi, is it possible to tell Cloudinary to only increase the size / resolution if the image is physically capable of it?

    For example, let's say I have a 1000px wide image; when asked for `w_1000,dpr_2.0`, Cloudinary will return a 2000px wide image. Is there a parameter that would give me just that 1000px version if that's the largest we have?

    0
  • Erwin Lukas

    Hi,

    This is a good scenario where it's unnecessary to upscale the original image as it will not improve the quality of the image and will also increase the size of the image.
    In order to avoid transformed image larger than the original image, you can set crop to limit. You can read more about it in our documentation.

    Examples:

    Hope this helps but let me know if you have further question.

    1
  • VersionPress Team

    Fantastic, thank you!

    0

Please sign in to leave a comment.