captionjs icon indicating copy to clipboard operation
captionjs copied to clipboard

License support

Open ericmagnuson opened this issue 10 years ago • 0 comments

Luigi suggested via email to have support for license. It would feature semantically correct tags and potentially a link to the license homepage. The copyright info could be pulled automatically from the alt text string or, better yet, would be pulled from a data-copyright field.

Here's what the resulting markup could look like:

<figure> 
<img src="img/content/preview.jpg" alt="Alttext für das Bild" /> 
<figcaption>Caption goes here</figcaption> 
<footer><small><!-- copyright noice --></small></footer> 
</figure> 

Edit: If the <small> tag contains a link to the license, consider using rel="license". Also, include copyright info in the schema markup.

ericmagnuson avatar Dec 16 '15 20:12 ericmagnuson