react-optimized-image icon indicating copy to clipboard operation
react-optimized-image copied to clipboard

Create option to automatically add width and height to img

Open andreisergiu98 opened this issue 5 years ago • 0 comments

Since we have these values i thought it my be useful to add them automatically to <img>. I know that sources will most likely have different values, but the ratio should be the same. Also when browsers will add support for width and height in sources we can easily extend this.

I created another pull request because https://github.com/cyrilwanner/react-optimized-image/pull/11 has unsigned commits.

andreisergiu98 avatar Sep 17 '20 13:09 andreisergiu98