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/instance
    

    into 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.externalimageeditor
    
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        collective.externalimageeditor
    
  • Re-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]

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
编译器构造为什么在Java中允许初始化对Null的引用?   java手动调用javax的actionPerformed。摆动计时器   使用git分支的java Maven版本控制   Java8句子流   java JPA OneToOne和OneToMany实体实例化/创建   java如何将值添加到列表<Map<String,Object>>?   java如何使用ComboBox在一个框架内更改JPanel。getSelectedIndex()   java在比较XML和xmlunit时忽略文本差异   java无法从其他pc连接到本地主机   Java中分配对象id的优雅方式   Java中静态变量的使用   java试图从Neteller获取OAuth访问令牌时产生错误:“服务器返回HTTP响应代码:401表示URL”   Java:基元类型是否会影响性能?   java可以让hasNext()不区分大小写吗?   基于AutoCompleteTextView建议属性或AutoCompleteTextView值的java Android搜索   java流文件到firefox浏览器有时无法打开应用程序对话框   在没有ArrayList的Java中返回数组中的搜索结果   复制java。木卫一。IOException:数据错误(CRC)   java为什么我在尝试删除Facebook测试用户时会出现“方法未实现”错误   java如何使用JNA调用SetProcessReliationPolicy