Low resolution Image in javascript
Here we take an example, by which we set the low resolution to an Image.
- <html>
-
- <body>
- <img id="lowres" src="1.png" lowsrc="2.png" width="100" height="100" />
- <br />
- <script type="text/javascript">
- var x = document.getElementById("compman");
- document.write('<a href="' + x.lowsrc + '">Get The Low Resolution</a>');
- </script>
- </body>
-
- </html>