Skip to main content

Collage view to display tagged images (collective.imagetags)

Project description


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.


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


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


  • 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.


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

    eggs =
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    recipe = plone.recipe.zope2instance
    zcml =
  • 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)


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

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

collective.collage.imagetags-1.0.1.tar.gz (22.2 kB view hashes)

Uploaded source

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