0
MoinMoin plugin: image2attach
What’s this
Image2Attach is a extension forMoinMoin. It can create a page action to save images from web to page’s attachments.
Requirement
- MoinMoin 1.9 (I only test in this version.)
Install
- copy action/* to data/plugin/action/
- edit MoinMoin/theme/init.py (update 2012-02-10 ,not need anymore)
- restart python server
Usage
Go into a page, clickMore Action–Image2Attach. It will take a while to fetch the images, after that it will save the image to attachments and replace the image’s link with attachment’s link. Finnally it will commit a change with message 'internet image save to attachment’ to wiki.
Enjoy it, any bugs can report toIssue Report.
Source code powered byhttps://github.com/alswl/image2attach.
update 2011-12-25
+ support link([[http://xxx.com/xxx.jpg|{{http://xxx.com/yyy.jpg}})
+ fix url has 'attachment' string bug.
+ support image attachment rewrite.
版权所有 © 2010 转载本站文章请注明:
转载自Log4D
原文链接:
http://log4d.com/2011/12/moinmoin-plugin-image2attach
您可以随意地转载本站的文章,但是必须在醒目位置注明来源及本站链接,不可以将本站文章商业化使用,或者修改、转换或者以本作品为基础进行创作。
3a1ff193cee606bd1e2ea554a16353ee
原文链接: http://feedproxy.google.com/~r/dddspace/~3/PDhQVGiUHRw/moinmoin-plugin-image2attach