reStructuredText:为图像添加信用额度

reStructuredText: Add credit line to an image

我最近开了一个新博客,我在里面使用了维基媒体图片。我自然要适当地给予图像学分。

常规出处位置在图片下方(此处以灰色字体为例)。

我的博客是在Pelican and i use reStructuredText写我的帖子,所以插入一张图片如下:

.. image:: images/Steve_Jobs_and_Bill_Gates.jpg
   :target: https://commons.wikimedia.org/wiki/File:Steve_Jobs_and_Bill_Gates_(522695099).jpg
   :alt: Joi Ito from Inbamura, Japan, licensed under the Creative Commons Attribution 2.0 Generic license

reStructuredText 是否有显示在图片下方的致谢字段?

我不知道你是否还在想这个问题,因为这个 post 已经一岁了。

但是,我正在使用 Duncan Lock 的 "Better Figures and Images" python 插件(参见 http://duncanlock.net/blog/2013/05/29/better-figures-images-plugin-for-pelican/)在我的图片下方添加标题。我敢打赌,您也可以将其用于学分。