question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use a Retina Image for Higher Resolution Displays Doesn't Pass On Google Chrome

See original GitHub issue

Describe your problem and - if possible - how to reproduce it

The test for ‘Responsive Web Design Principles: Use a Retina Image for Higher Resolution’ won’t pass on Google Chrome. It will pass with Safari, and it will pass with Firefox. There are matching reports on the FCC Help Forum.

<style>
  img { width: 100px; height: 100px;}
</style>

<img src="https://s3.amazonaws.com/freecodecamp/FCCStickers-CamperBot200x200.jpg" alt="freeCodeCamp sticker that says 'Because CamperBot Cares'">

The above passed with Safari (Version 11.1 (13605.1.33.1.4)), but not Chrome (67.0.3396.79 (Official Build) (64-bit)).

Add a Link to the page with the problem

https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/use-a-retina-image-for-higher-resolution-displays/

Tell us about your browser and operating system

  • Browser Name: Chrome
  • Browser Version: 67.0.3396.79 (Official Build) (64-bit)
  • Operating System: MacOS High Sierra (Version 10.13.4 (17E202))

If possible, add a screenshot here

N/A

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
RyanW1004commented, Jul 3, 2018

If you zoom out with the browser then the challenge doesn’t work. Try having the browser at 100% zoom, that fixed the issue for me

0reactions
EmmaluFoxcommented, Sep 9, 2019

This issue was still occurring for me. Changing to 90% zoom in Chrome fixed the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downscaling page for retina without loss of quality (blurry on ...
I noticed that when using CSS to resize a lossless png file (for normal/Retina purposes), on latest Chrome, (54.x at the time of...
Read more >
If your external display isn't detected or appears blurry when ...
Try these steps if the image on an external display connected to your Mac is blank or doesn't look the way you expect....
Read more >
Web browser source doesn't honor Retina display or Chrome ...
Web browser source doesn't honor Retina display or Chrome CSS; can't make window large enough or see CSS animations.
Read more >
T5840 High resolution equations for printing, Retina displays (hi-dpi)
"This bug looks to tweak the size of the images produced by texvc. I think this should simply be a WONTFIX. While it...
Read more >
How to Make Images Retina-Ready for your Wordpress ...
We live in a high-definition world where Retina displays are ... The image resolution doesn't change the amount of data in the image, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found