Image Editor

adds a "Image Editor" link near the image widget allowing the user to rotate, flip, blur, compress, change contrast & brightness, sharpen, add drop shadows, crop, resize an image, save as, and apply sepia.

Project Description

Introduction

Once installed this product adds a "Image Editor" link near the image widget. It also provides an Image Editor Button.

Features

  • rotate
  • flip
  • blur
  • compress
  • contrast
  • brightness
  • sharpen
  • add drop shadows
  • crop
  • resize
  • sepia
  • save as another content type.

Dependencies

  • collective.js.jqueryui

Installation

WARNING

Products.ImageEditor depends on collective.js.jqueryui. The collective.js.jqueryui package changes quite often and those changes frequently break Products.ImageEditor. Please read the documentation on collective.js.jqueryui to make sure you're installing the correct version for the plone you're running. Depending on your setup, you might have to install collective.js.jqueryui version 1.7, 1.8, 1.9 or 1.10. And depending on those choices, you might also have to upgrade plone.app.jquery.

Don't blame me for this...

Editor Storage

By default, ImageEditor uses sessions to store the image data. Since 2.0, it has support for beaker storage.

To use beaker storage, add beaker to your eggs in buildout:

[eggs]
...
beaker
...

Then, add environment variables to set the beaker settings:

BEAKER_CACHE_TYPE file
BEAKER_CACHE_DATA_DIR /path/to/data
BEAKER_CAHCE_LOCK_DIR /path/to/lock

The environment variables can be set using the environment-vars option in plone.recipe.zope2instance buildout configuration.

Diazo

The following rule in rules.xml will be useful, most likely:

<!-- ImageEditor -->
<notheme css:if-content="#image-editor-controls" />

Contributors

  • Andreas Zeidler
  • Jean-Michel FRANCOIS
  • Davi Lima
  • Sylvain Boureliou
  • Jeff Kunce
  • Hector Velarde

Changelog

3.0.0 (2013-03-20)

  • update to work with latest jQuery UI [vangheem]
  • remove use of slider image editor variant [vangheem]
  • fix to work with latest collective.js.jqueryui [vangheem]

2.1.3 (2012-10-02)

  • Plone 4.3 compatibility (import) fix [ajung]

2.1.2 (2012-09-07)

  • added norwegian translation [espen]
  • fix compress action Fixes #6 [vangheem]

2.1.1 (2012-08-15)

  • fix close button in IE issue. Fixes #4 [vangheem]
  • add translations [vangheem]
  • after image is changed, it should clear current edits. Fixes #2 [vangheem]

2.1.0 (2012-05-02)

  • Add Dutch translations. [markvl]
  • Updated Spanish translation. [hvelarde]
  • German translation added. [timo]
  • compatible with latest collective.js.jqueryui [garbas]

2.1b2 (2011-12-06)

  • fix undo bug where you can lose you edits and it errors. [vangheem]

2.1b1 (2011-11-16)

  • By default, constrain aspect ratio on resize [vangheem]
  • provide button to enable/disable constraining aspect ratio [vangheem]

2.0b2 (2011-11-11)

  • Add "Image Editor" button now by default again. [vangheem]
  • fix save as button [vangheem]

2.0b1 (2011-11-11)

  • provide support for beaker storage instead of using zope session storage [vangheem]

1.8 (2012-04-13)

  • Fixed 'image editor' tab.

    • on 'image editor' tab view, redirect to base view after close.
    • 'image editor' tab condition works for non-manager users,
    • Editor, Site Administrator and Owner have tab permission by default

    [thomasdesvenain]

  • Force no cache on ajax so we can use ImageEditor behind a proxy-cache. [thomasdesvenain]

  • French translations. [thomasdesvenain]

  • Do not remove jquery ui 'global_include' on install not to break third part products using it. [thomasdesvenain]

1.7 - 2011-03-21

  • Keep "Current image" link behavior untouched. Previously, clicking the "Current image" link opened the editor. [vincentfretin]
  • Updated French translation. Redo and Undo translations were inversed. [vincentfretin]
  • move back to collective.js.jqueryui since it now allows you to only show javascript on certain views. [vangheem]
  • plone 4.1 compatible

1.6 - Released August 29, 2010

  • stop using collective.js.jqueryui [vangheem]
  • fixed some styling issues [vangheem]

1.5 - Released May 5, 2010

  • Disable "Image Editor" content action/tab by default. [witsch]

1.4 - Released April 27, 2010

  • Minor templating fixes for Plone 4 compatibility. [witsch]
  • Support per-field undo stacks. [witsch]

1.3 - Released April 23, 2010

  • Add support for multiple image fields on the same object and use sessions to store editing data like the undo stack etc. [witsch]
  • Clear undo stack on invocation to avoid stale images after an update and prepare multi-field support. [witsch]
  • Fix style information for missing action icons. [witsch]
  • Allow invocation of editor directly from Archetypes' image widget. [witsch]
  • Move the zoom slider into the actions dialog. [witsch]
  • Closing the main editor dialog also closes the controls and zoom slider. [witsch]
  • Add buildout and update test setup to use collective.testcaselayer. [witsch]

1.2 - Released February 15, 2010

  • The save as action now saves to the parent of original image instead of to the root of the site. [vangheem]
  • Clicking the imageeditor tab in IE6/IE7 does not bring up edit dialogs. http://plone.org/products/products-imageeditor/issues/4 [Jeff Kunce]
  • added upgrade step for all versions to 1.2.
  • Remove unneeded javascript entry in portal_javascripts and updated uninstall profile [vangheem]

1.2rc3 ~ December 4, 2009

  • emergency fix for vocabulary as last fix had a syntax error... should have been tested. [vangheem]

1.2rc2 ~ December 3, 2009

  • fix duplicates when several types have the same content type in ImageContentTypeVocabulary, even if they are not installed at the same time [Sylvain Boureliou]
  • added brazilian translation

1.2rc1

  • fixed css
  • change install profile title

1.2b3

  • add user ability to choose image_editor throw portal_memberdata [toutpt]

1.2b2

  • add i18n on all actions [toutpt]
  • add french translation [toutpt]
  • add support for multiple editors [toutpt]
  • current editor moved to @@imageeditor.alagimp [toutpt]
  • previous editor moved to @@imageeditor.slider [toutpt]

1.2b1

  • added permission to edit images
  • removed traversable context for editing images--unneeded fanciness
  • manual resize now takes zoom into account
  • fixed cropping bug
  • added grabber

1.1b3

  • fixed tests
  • only install collective.js.jquery if plone 3.3 or above
  • image container, actions and zoom are all in dialog boxes now so it has more of a photoshop feel
  • added manual resize dialog to resize action
  • now have aspect ratios back!

1.1b2

  • added sepia effect
  • added save as
  • updated styles

1.1b1

  • major code revamp
  • plugin system for different types of editing actions so anyone can create edit actions
  • new interface design
  • now News Item images can be edited also
  • upgraded to newest version of jquery ui
  • added newest version of ImgAreaSelect
  • merged ImageEditorAdapter and UnredoAdapter
  • using collective.js.jquery and collective.js.jqueryui--auto install

1.0rc2

  • removed all traces of kss
  • removes portlets from editor view
  • added uninstall step in case there are leftovers on the Image object from editing it.

1.0rc1

  • changed name of product to Products.ImageEditor

0.2rc1.3

  • moved edit actions to adapter
  • moved save and cancel buttons to action menu

0.2rc1.2

  • added drop shadow support
  • added aspect ratio support

0.2rc1.1

  • fixed IE critical bug for cropping image that is zoomed

0.2rc1

  • fixed IE bugs and tightened support for advanced features

0.2b3

  • added versioning support

0.2b1

  • mobile actions window
  • undo/redo
  • blur, compression, brightness, contrast
  • shows image size and pixel count
  • warning if user has unsaved changes

0.1rc2

  • Added scaling capabilities
  • fixed a few bugs

0.1rc1 - Initial Release

  • Initial release

Self-Certification

[ ] Internationalized

[X] Unit tests

[ ] End-user documentation

[X] Internal documentation (documentation, interfaces, etc.)

[X] Existed and maintained for at least 6 months

[X] Installs and uninstalls cleanly

[X] Code structure follows best practice

Current Release
Products.ImageEditor 3.0.0

Released Mar 20, 2013 — tested with Plone 4.1, Plone 4.2

Download file Get Image Editor for all platforms
Products.ImageEditor-3.0.0.zip
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
3.0.0 Mar 20, 2013 More about this release…
Plone 4.1
Plone 4.2
GPL final
2.1b2 More about this release… GPL beta
2.1b1 More about this release… GPL beta
2.1.2 Sep 07, 2012 . More about this release…
Plone 4.2
Plone 4.1
Plone 4
Plone 3
GPL final
2.1.1 Aug 15, 2012 fixes and updates More about this release…
Plone 4.2
Plone 4.1
Plone 4
Plone 3
GPL final
2.1.0 May 02, 2012 update More about this release…
Plone 4.1
Plone 4
Plone 3
GPL final
2.0b2 More about this release… GPL beta
2.0b1 More about this release… GPL beta
1.8 Apr 13, 2011 refer to docs More about this release…
Plone 4.1
Plone 4
Plone 3
GPL final
1.7 Mar 21, 2011 * Keep "Current image" link behavior untouched. Previously, clicking the "Current image" link opened the editor. [vincentfretin] * Updated French translation. Redo and Undo translations were inversed. [vincentfretin] * move back to collective.js.jqueryui since it now allows you to only show javascript on certain views. [vangheem] * plone 4.1 compatible More about this release…
Plone 4
Plone 3
GPL final
1.5 May 05, 2010 .. More about this release…
Plone 4
Plone 3
GPL final
1.4 Apr 27, 2010 First version to support Plone 4.x More about this release…
Plone 4
Plone 3
GPL final
1.3 Apr 23, 2010 image widget integration, no longer store edit data on objects, multiple editors per content, More about this release…
Plone 3
GPL final
1.2rc3 Dec 06, 2009 More about this release… GPL final
1.2rc2 Dec 03, 2009 More about this release… GPL final
1.2rc1 Sep 24, 2009 More about this release… GPL final
1.2 Feb 15, 2010 * The save as action now saves to the parent of original image instead of to the root of the site. [vangheem] * Clicking the imageeditor tab in IE6/IE7 does not bring up edit dialogs. http://plone.org/products/products-imageeditor/issues/4 [Jeff Kunce] * added upgrade step for all versions to 1.2. * Remove unneeded javascript entry in portal_javascripts and updated uninstall profile [vangheem] More about this release…
Plone 3
GPL final
1.1b3 Aug 11, 2009 More about this release… GPL final
1.1b2 Jul 17, 2009 More about this release… GPL final
1.1b1 More about this release… GPL pre-release
1.0rc2 More about this release… pre-release
1.0rc1 Jan 07, 2009 Just renamed the product to Image Editor and changed it to use the Products namespace. More about this release…
Plone 3
GPL release-candidate
0.2rc1.2 Sep 21, 2008 some minor bug fixes and adds support for drop shadow and aspect ratios while cropping More about this release…
Plone 3
GPL release-candidate
0.2rc1 Sep 01, 2008 Added blur, quality, brightness, contrast, and sharpen in new action window. Fixes IE bugs. More about this release…
Plone 3
GPL release-candidate
0.1rc2 Jul 31, 2008 Initial release of ATImageEditor. Includes support for crop, resize, zoom, flip, and rotate. More about this release…
Plone 3
GPL release-candidate