Skip to main content

Introduction

Adds a “Image tags” layout view in Collage to display object images tagged with collective.imagetags.

Layouts are registered only for objects providing the following interfaces:

  • Products.ATContentTypes.interfaces.IATImage

  • Products.ATContentTypes.interfaces.IATNewsItem

A special “Settings” viewlet is added in the Collage viewlet manager to set the scale to use to show the tagged image.

Extending

To provide this layout to your custom content types just copy the code below (as stated in browser/configure.zcml):

<browser:page
    name="tags"
    for="<your_interface_here>"
    permission="zope.Public"
    class="collective.collage.imagetags.browser.views.ImageTagsView"
    layer="Products.Collage.interfaces.ICollageBrowserLayer"
    />

If you want to use a special template, add a template attribute. If not, a default template will be used from browser.views.ImageTagsView.

Features

  • i18n support (English and Spanish translations)

  • Tested in Plone 4.0b5 with Collage 1.3.0_b4

  • Settings viewlet displays an inline z3c.form to set preferences for the layout (available image scales for current object)

  • Depends on Product.Collage and collective.imagetags. They will automatically fetched during buildout and installed during installation of this product.

Installation

  • Add collective.collage.imagetags to the list of eggs to install, e.g.:

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

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        collective.collage.imagetags
  • 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 Gimenez <jpg {at} rcom {dot} com {dot} ar> (advisor)

Changelog

1.0.1 (2010-07-28)

  • Image tags settings form has now just one field with combined image_scale options

Warning: If you have version 1.0 installed, you’ll see a “Selected object has no image field” legend after installing this update. You’ll have to manually edit the layout settings with a new scale.

1.0 (2010-07-23)

  • Initial release

  • Configurable ‘tags’ layout for Collage

  • i18n support

Metadata

Release files for collective.collage.imagetags 1.0.1

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.collage.imagetags 1.0.1
File Size Uploaded Provenance Actions
collective.collage.imagetags-1.0.1.tar.gz 22.2 kB Without provenance Details for collective.collage.imagetags-1.0.1.tar.gz

Release files / collective.collage.imagetags-1.0.1.tar.gz

Download URL collective.collage.imagetags-1.0.1.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c3e80646f13b9305252f83f183028578904985ffd85c45ce767bfe8784bad1ea
BLAKE2b-256 checksum
How to use checksums
1edd82743d5c795ecb53619cb1425b83cba6e7707107d6039d7e8de65e7f2fb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for collective.collage.imagetags 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

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