As I understand the attribute crossorigin
- to process requests from other sources. Re-read the Internet, so plainly and did not understand the meaning of the attribute. Is it needed if I want to take and upload a picture from another site to my site? What do I need for this, in src
specify the address of this picture and use the crossorigin
attribute? Attribute values do not understand what they mean:
anonymous use-credentials
Can anybody explain the principle of the attribute?
For example, a code, why doesn’t a picture from another site appear? What value should be added to the attribute for the picture to appear?
<body> <div> <img src="http://russian7.ru/wp-content/uploads/2014/07/20130215184904.jpg" crossorigin=""> </div> </body>