GithubHelp home page GithubHelp logo

imgcopyright's Introduction

Introducing the copyright img attribute

<img src="flyingcat.jpg" alt="Flying cat" copyright="cc-by The Cat" />

This is an optional attribute that will complement the image tag. It is not a replacement of stating the copyright info on the page, but it will be a good attempt to notify the browser and web crawlers of the copyright held by this picture.

The copyright attribute can take the values currently defined by the creative commons and then some.

Type CC Notation Copyright Attribute Notation
Attribution CC BY cc-by
Attribution-NoDerivs CC BY-ND cc-by-nd
Attribution-NonCommercial-ShareAlike CC BY-NC-SA cc-by-nc-sa
Attribution-ShareAlike CC BY-SA cc-by-sa
Attribution-NonCommercial CC BY-NC cc-by-nc
Attribution-NonCommercial-NoDerivs CC BY-NC-ND cc-by-nc-nd
Public domain CC 0 cc-0
Non Creative Commons ยฉ c

The attribute can also include the year, and additional information. Here is an image correctly tagged with the appropriate copyrights:

Ants

CC BY Ibrahim Diallo idiallo.com/photography 2015

And the html code looks like this:

<img copyright="cc-by 2015 Ibrahim Diallo idiallo.com/photography" src="http://cdn.idiallo.com/photo/36/ants.jpg" alt="Ants" />

This is an attempt to create a new attribute that will make it much easier to determine the copyright grounds of an image programmatically. If successful, the attribute can be used by other tags including but not limited to audio and video.

This initiative is not to fight piracy, or create a weird behavior on the browser to prevent copying. I find it very hard to determine the license on images on certain sites and the owners never reply to email. So this can extend the work the Creative Commons has already done and get everyone on the same page.

Under the img tag definition on w3.org, we can add a new section to properly define the attribute. The content and functionality of the attribute are in no way final. I am open to suggestions visit the github repo to contribute.

Find the original blog post here: HTML image copyright license attribute initiative

Oh and I am not affiliated with the W3C.

imgcopyright's People

Contributors

ibudiallo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

imgcopyright's Issues

`license` or `legal` in favor of `copyright~?

copyright is a country-law specific term which does not apply to all countries. For example in germany we have a law called Urheberrecht which handles similar aspects but it also distiguishes in some certain ways (for example it is only possible to grant usage rights or license those, but it is not possible under any circumstances to sell or give away these rights from the original person that created the content).

I therefore would like to propose a more generic term for the attribute name like license or legal[-note] or so.

Great initiative by the way, looking forward to an issue or PR upstream ๐Ÿ™‚

That being said I am not a lawyer and my understanding / interpretation of the laws may be insufficient or wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.