Plone在在线Web服务上编辑图像的插件产品
collective.externalimageeditor的Python项目详细描述
内容
Description
此包将在图像上添加链接,以便在外部Web服务上编辑它们。 它适用于:
- Archetypes image fields
- ATImages
这些服务的激活由plone站点设置上的特定控制面板中的设置控制。
目前,我们只支持pixlr、fotoflexer和aviary。
您可以查看Demo。
请注意,我们集成了plone.protect以确保针对csrf攻击的最低安全级别。
collective.externalimageeditor Installation
要将collective.externalmageeditor安装到全局python环境(或workingenv)中, 使用传统的zope 2实例,您可以这样做:
When you’re reading this you have probably already run
``easy_install collective.externalimageeditor``.Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall
If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:
python setup.py install --home /path/to/instanceinto your Zope instance.
Create a file called ^{tt1}$ in the ^{tt2}$ directory. The file should only contain this:
<include package="collective.externalimageeditor" />
或者,如果您使用的是zc.buildout和plone.recipe.zope2instance 配方管理您的项目,您可以这样做:
Add ^{tt3}$ to the list of eggs to install, e.g.:
[buildout] ... eggs = ... collective.externalimageeditorTell the plone.recipe.zope2instance recipe to install a ZCML slug:
[instance] recipe = plone.recipe.zope2instance ... zcml = collective.externalimageeditorRe-run buildout, e.g. with:
$ ./bin/buildout
如果要显式地包含包,可以跳过zcml slug 从另一个包的configure.zcml文件。
Changelog
1.5 (2012-02-09)
- 移除灵巧无用的依赖项[kiorky]
- 集成鸟舍和Fotoflexer[Kiorky]
- 集成plone.protect[kiorky]
- 添加对原型图像字段的支持[kiorky]
1.0 (2012-02-01)
- 初始版本[Kiorky]