This plugin for WordPress automatically add the rel=”lightbox[ID-OF-THE-POST]” to images linked in a post
此WordPress插件会自动将rel =“ lightbox [ID-OF-THE-POST]”添加到帖子中链接的图像
ID-OF-THE-POST is unique per post so all images per post are grouped in one lightbox set.
每个帖子的ID-OF-THE-POST都是唯一的,因此每个帖子的所有图片都归为一个灯箱集。
Works also with the gallery Fonction of WP 2.7 and in comments
还可与WP 2.7的Fonction画廊配合使用并在注释中使用 p>
Doesn’t add the the files required for Lightbox (it only add the rel lightbox tag)!
不添加Lightbox所需的文件(仅添加rel lightbox标签)!
You have to insert yourself in your theme the required files or use a plugin like Lightbox 2 WordPress Plugin or Lightbox 2.3 plugin for WordPress
您必须在主题中插入所需的文件,或者使用Lightbox 2 WordPress插件或Lightbox 2.3 WordPress插件之类的插件 p>
Changelog / Todo
变更日志/待办事项 h3>
0.4.1
0.4.1
* Optimizing the code
*优化代码
0.4
0.4
* Now Compatible with the Gallery Fonction of WP 2.7
*现在与WP 2.7的库功能兼容
* Adds also rel tag in the comments
*在评论中还添加rel标签
0.3
0.3
* Correction of a bug that added rel tag on links done on img tags.
*修正了在img标签上完成的链接上添加rel标签的错误。
0.2
0.2
* Correction of a small bug described by Kristof Mattei.
*纠正了Kristof Mattei描述的一个小错误。
Thanks to him for the help!
感谢他的帮助! p>
Thanks to all who sent bug reports and ideas for improvements.
感谢所有发送错误报告和改进建议的人。
Please send me a mail if I forgot you to mention here.
如果我忘了在这里提及您,请给我发邮件。 p>