captionjs
captionjs copied to clipboard
License support
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.