How do I set the license for images on my site in Google Images?

无人久伴 提交于 2019-12-04 09:49:13

You need to wrap it around a div with an about attribute. Here's an example that Google provides:

<div about="image.jpg">
  <img src="image.jpg" alt="" />
  <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution Share-Alike 3.0</a>
</div>

So in your case:

<div about="image.jpg">
  <img src="image.jpg" alt="" />
  <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.en_US" target="_blank">CC-BY</a>
</div>

Sources: https://www.youtube.com/watch?v=quyhasVn2jw, http://googlesystem.blogspot.com/2009/08/simple-way-to-specify-image-licenses.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!