Re:Show HN: An Almost Ideal React Image Component
by stereobooster on Saturday June 02, 2018 @12:31AM
(#17212716)
It supports retina/3x. Provide big enough image and it will use it. It takes into account `devicePixelRatio`
> maybe default max width of 100% on mobile?
It is.
> optional ability to overlay an empty full size block so the image cant easily be right clicked and saved
Not sure what you mean, but as soon as image loaded it turns into good old image, so you can do right click
Re:Show HN: An Almost Ideal React Image Component
by anonfunction on Saturday June 02, 2018 @03:55AM
(#17213374)
>> optional ability to overlay an empty full size block so the image cant easily be right clicked and saved
> Not sure what you mean, but as soon as image loaded it turns into good old image, so you can do right click
I believe he wants the opposite of that, putting a div over the image so it cannot be right clicked and saved.
- retina/3x support - support for styled components extend feature (if can be made a lightweight implementation) - maybe default max width of 100% on mobile? - optional ability to overlay an empty full size block so the image cant easily be right clicked and saved