Include Double resolution produces wrong/strange breakpoints

Open
#1 1 comment 0 reactions 1 assignee View on GitHub

@nadavofi is already working on this.

Since Jul 12, 2016.

Assessment

This issue has not been assessed yet.

Description

question

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

Dominant language
JavaScript
Stars
443
Forks
33
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/responsive_breakpoints_generator

All issues in cloudinary/responsive_breakpoints_generator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.