Skip to main content

Introduction

The solely intention of this product is to show in Image and News Item content types an icon-toolbar viewlet in the plone.abovecontentbody viewlet manager.

By keeping the user in the same page and requiring less clicks and page loads we intend to ease applying transformations in the images.

This is an alternative to collective.atimage.transformmenu.

Features

  • Toolbar is in plone.abovecontentbody viewlet manager 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

  • ‘Transforms’ tab is hidden in Image objects as its functionalities are now provided by the toolbar.

Installation

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

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

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        collective.atimage.transformtoolbar
  • 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)

Credits

The icons used in this package were thankfully taken from famfamfam.com website, where Mark James offers for free his 1000 icons work under the Creative Commons Attribution 3.0 License

Icons below were renamed to ease the implementation of this solution:

  • shape_flip_vertical: transform-0.gif

  • shape_flip_horizontal: transform-1.gif

  • shape_rotate_anticlockwise: transform-2.gif

  • shape_rotate_clockwise: transform-4.gif

transform-3.gif icon is an adaptation of shape_flip_horizontal.

Changelog

1.2.3 (2011-11-25)

  • Fixed icon for vertical axis / horizontal axis transformations

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

  • Viewlet is only shown in News Item when it has an image

1.2 (2010-07-26)

  • Enables Transform toolbar for News Items

  • Toolbar viewlet manager in Image is changed to make it consistent with News Item (plone.abovecontentbody)

  • Image update with AJAX now reloads the whole image tag instead of just src attribute to prevent width/height constraints

1.1 (2010-07-16)

  • 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-04)

  • Initial release

  • Hides “Transform” tab in ATImage by means of generic setup extension profile

  • Adds “Transform” toolbar in ATImage with the available transformations

  • i18n taken from Products.ATContentTypes

  • Tested in Plone 3.3.5 and Plone4.03b

Metadata

Release files for collective.atimage.transformtoolbar 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.atimage.transformtoolbar 1.2.3
File Size Uploaded Provenance Actions
collective.atimage.transformtoolbar-1.2.3.tar.gz 23.3 kB Without provenance Details for collective.atimage.transformtoolbar-1.2.3.tar.gz

Release files / collective.atimage.transformtoolbar-1.2.3.tar.gz

Download URL collective.atimage.transformtoolbar-1.2.3.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
06a6007c20a612b22eb49e9c3affcea41230bddbd74f7586d127f9b65f6e399b
BLAKE2b-256 checksum
How to use checksums
2823382567e982b7d7dfed6bb56c76b2fc2dc8811013bb45683e9c30e6b007cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for collective.atimage.transformtoolbar 1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page