New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive Images on Android #239
Comments
Exactly. Any ideas why this behavior happens with the elva-fairy image? Shouldn't the browser download the 480px wide image instead of the 800px image as it does on desktop mode? |
I checked again and now I think it's working as expected.
|
Thank you very much for answering! I tried using a higher max-width (ex: DPR 2.0 using 480px - downloading elva-fairy-480w 481px - downloading elva-fairy-800w DPR 2.0 using 200px - downloading elva-fairy-800w I don't know if it exist a better approach to make it work the same on both mobile and desktop, or if I'm missing something. Full example:
|
I still think there is no bug. Try asking on SO so people can guide you where is your wrong assumption. |
I don't think it's a bug either, but I can't understand the behavior with other DPRs. Thanks again for your help, I will try on SO. Should I close this issue? |
You can wait until another one will step in to answer. It seems that the 309/310 settings are the browser threshold for these image widths for DPR 2. |
@Riczerq any update on this? On FF 309px behaves the same as 310px (using always 800px) |
Hi @avivmu ! No one has answered the question on SO yet. As soon as I find something or get an answer I will post it here. |
Index |
Does anyone has any answer for this? |
I took a look at this issue, and as was already pointed out:
The examples is therefore working as expected (albeit slightly confusing), so I'm going ahead and close this issue as wontfix. |
Hello!
I tested the responsive.html on my android device and it is downloading the 800px image instead of the 480px. I have done different tests in other scenarios and it also gives the same result. It works properly on desktop.
My device esp:
Resolution: 1080x1920
DPR: 2.549999952316284
clientWidth: 424
The text was updated successfully, but these errors were encountered: