react-viewer icon indicating copy to clipboard operation
react-viewer copied to clipboard

Support for more <img /> attributes: referrerpolicy, crossorigin, etc.

Open jayqizone opened this issue 5 years ago • 3 comments

Is it possible to add other attributes to img?

For example, referrerpolicy='no-referrer' is needed for some resources

Thanks

jayqizone avatar Jul 29 '20 10:07 jayqizone

We can add imageProps in the next version.

infeng avatar Jul 30 '20 09:07 infeng

这个版本什么时候上

xmsz avatar May 28 '21 06:05 xmsz

这个版本什么时候上 @xmsz 可以 fork 一个改一下,参考 @tangdw/react-viewer

tangdw avatar Sep 07 '21 06:09 tangdw