Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

'Transforms' menu in Image and News Item to perform image transformations

Project Description

Introduction

Replaces the “Transform” tab in ATImage with a corresponding “Transform” menu in the “View” tab. The menu is available also for ATNewsItem.

Features

  • Menu available for Image and News Item
  • Performs image transformations with AJAX to prevent reloading the page
  • Degrades gracefully in non-JavaScript browsers
  • i18n support by using atcontentypes and plone i18n domains.
  • Tested in Plone 3.3.5 and Plone 4.0

Installation

  • Add collective.atimage.transformmenu to the list of eggs to install, e.g.:

    [buildout]
    ...
    eggs =
        ...
        collective.atimage.transformmenu
    
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        collective.atimage.transformmenu
    
  • Re-run buildout, e.g. with:

    $ ./bin/buildout
    

You can skip the ZCML slug if you are using Plone 3.3 or if you are going to explicitly include the package from another package’s configure.zcml file.

Authors and Contributors

  • Marcos F. Romero <marcos.romero {at} inter-cultura {dot} com> (developer)
  • Juan Pablo Giménez <jpg {at} rcom {dot} com {dot} ar > (unconditional help)

Changelog

1.2.2 (2010-09-21)

  • Added simplejson dependency, which is used to automatically create JSON from Python objects (thanks to kojiro)
  • Change http headers for JSON responses: added content-length, changed mimetype for application/json (thanks to MacYET3)
  • Test updated according to above changes
  • Tested in Plone3.3.5 and Plone4.0

1.2.1 (2010-07-28)

  • New test cases with News Items and Page objects and with AJAX interactions

1.2 (2010-07-26)

  • Enables Transform menu for News Items
  • Image update with AJAX now reloads the whole image tag instead of just src attribute to prevent width/height constraints

1.1 (2010-07-17)

  • Performs transformations with AJAX (jQuery)
  • Keeps “Transform” tab hidden if collective.atimage.transformmenu is installed
  • Necessary i18n taken from plone domain

1.0 (2010-06-03)

  • Initial release
  • Hides “Transform” tab in ATImage by means of generic setup extension profile
  • Adds “Transform” menu in ATImage with the available transformations
  • i18n taken from Products.ATContentTypes
  • Tested in Plone 3.3.5 and Plone4.03b
Release History

Release History

This version
History Node

1.2.2

History Node

1.2.1

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.atimage.transformmenu-1.2.2.tar.gz (20.1 kB) Copy SHA256 Checksum SHA256 Source Sep 21, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting