Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.ImageEditor-3.0.0.zip (479.9 kB view details)

Uploaded Source

File details

Details for the file Products.ImageEditor-3.0.0.zip.

File metadata

File hashes

Hashes for Products.ImageEditor-3.0.0.zip
Algorithm Hash digest
SHA256 d26f1cf7b52593b9d5a05af9177a03beb43ff9bf755a29ce7f61123a47aec2c5
MD5 dc07be2e0ba8078bf33b2390413de3b9
BLAKE2b-256 d3ca45cb18692f7a80b743bff1c9360ff868d057a0e0ada537d2b65e818b3912

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page