Closed colejd closed 4 years ago
We need to rename the method.
Can you include a code comment for a URL that can be used for testing it?
Fixed.
Here's some images I used to test on a 4k monitor:
Normal test:
Tall test:
Wide test:
Small test:
Come to think of it, I think the first and last images are probably sufficient, but there you go. All images have a 10px border if you want to count pixels.
Could you put the first and last in a Codepen/JSFiddle and add code comment with links, so it can easily be tested for someone needing to touch the code in the future?
I think we should also mention the behavior in the readme. In one sentence.
Here's the Codepen: https://codepen.io/colejd/pen/MWyxezd
I'll add it to the code in just a moment.
Thanks :)
Resolves #49.
When an image is loaded, it will stretch to aspect-fill the screen.