I want to use some icons on some links in the footer of my website, such as these. They are under the MIT license. These icons are files by themselves, so I cannot just add the MIT license at the top of the files I want to use. I want the source code of the website to be as small as possible.

How exactly do I add the MIT license to these icons? I have spent a surprising amount of time googling without getting a clear answer.

  1. Is an HTML comment on the line above the icon linking to the license sufficient, or would I have to include the full copy of the license?
  2. Is a copy of the license or link to that license displayed in an about section of my website a sufficient alternative, saying it refers to these icons? I think that's what this answer is saying.
  3. Is a copy of the license in the GitHub repo that hosts my project (in the same folder that holds the icons) sufficient, provided I link to the GitHub repo at the bottom of every page of my website?
  • 2
    The answer you link seems correct. So, option 2 Feb 17, 2020 at 11:49
  • Are any of the other options correct? It seems possible that there is more than one correct way to do this. Feb 17, 2020 at 16:23
  • 1
    I don't think comments in a website or link to source convey the license information correctly / sufficiently as it doesn't give attribution directly. An 'about' page with copyright info and links to sources there is IMHO not much to ask. Yet you can probably argue with some effort that (3) fulfills the requirements. But why not be up-front and give credit where credit is due? Feb 17, 2020 at 16:36
  • 1
    Oh, yes, I agree; seems I mis-understood something. That's what I'd do on the about page: names, and license-name (with link to license). I'd not spell-out the complete license on the same page. Feb 17, 2020 at 17:03
  • 1
    (coming late to this discussion, I know). There are image file formats like jpg which allow inclusion of Metadata, for example EXIF , IPTC or XMP. You can use an appropriate file format and add any copyright and license information into the appropriate metadata fields. Sep 15, 2021 at 14:02


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.