image_fields is implemented to return only a list of image fields, and not together with
additional information, as the docstring claims. Changed the doctring to reflect this
Use new recommended way for checking the existence of dexterity
(see http://developer.plone.org/reference_manuals/external/plone.api/contribute/conventions.html#about-imports)
fixed the utils for dexterity (use correct version of IImage, correctly access image data, correctly
get the image size)
changed order of imports
since plone.namedfile.file.NamedBlobImage doesn't have a __name__ attr, we need to use the new
method image_field_names to determine the fieldname
made cropping work for both dexterity and Archetypes. (plus some flake8)
use the @@images view for displaying the scales, since this works in all Plone versions >=4.1
updated CHANGES and CONTRIBUTORS
Moved all cropping code specific to Archetypes / dexterity into the cropping util. Reason:
even if dexterity is present, the content type passed in for cropping might still be based on
ATContent. By delegating to the cropping util, we ensure that the corrrect handler is used.
let the new Image type from plone.app.contenttypes also provide IImageCropping
added new method for util to interface
Merge pull request #7 from saily/dexterity-integration

Dexterity integration