react-image
react-image copied to clipboard
[Fix]: srcsets require a height to properly crop images
I found an issue where srcsets being generated did not contain the height attribute which means you are unable to crop. I researched the problem and found issue #41 where at least one other user noted the same problem.
This PR resolves #41
[Screenshot before - fit:crop]:
[Screenshot after - fit:crop]:
@hmeissner can you take a look?