18 ms·
This is a great start. Some lightweight features that would make this even more ideal (for me) would be: - retina/3x support - support for styled components ex
by samhunta 8y ago
This is a great start. Some lightweight features that would make this even more ideal (for me) would be:
- 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
- stereobooster 8y agoIt 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
- anonfunction 8y ago>> 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.