cloudinary / cloudinary/responsive_breakpoints_generator

Include Double resolution produces wrong/strange breakpoints

Open
#1 1 comment 0 reactions 1 assignee Claimed by @nadavofi View on GitHub
question
Dominant language
JavaScript
Stars
443
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hi cloudinary team,

There is no way to create full screen image breakpoints that make sense when you choose: Include double resolution or when you double the resolution. I understand that precise breakpoints are not necessary/important for smaller images, but I think we need a Full Screen mode with a couple of most common breakpoints in between the minimum and maximum width to save bandwidth!

When I create breakpoints from a original image of 3840px X 2160px and set for example 480px to 1920px in 10 steps you get a logical series of images that come close to real life sizes:

But look what happens when you double the size in this case 480px to 3840px (the same happens when you hit the Retina double resolution button) The logic is gone and common sizes like 1920px:
are not even present any more! What we see is 1867px or 2060px. Why is it not possible to generate real double resolution above what you have?
This is in 20 steps

This is in 10 steps

Maybe you can give some tips about this subject!

Kind Regards & Thanks,

David

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.