Package: collective.imagetags
IntroductionAdds a ‘Tags’ tab in ATContentTypes with non-empty image fields
(News Item, Image) to allow content owners to add Text/URL tags
(Facebook-like tags or Flickr-like notes) anchored to a certain
position of the image.Tagged image can then be displayed in:News ItemsImagesFullscreen imagesany other template that you wantby means of:custom templates provided with this package, orreplacement of images via AJAX.Showing tagged images with AJAXA special class for images is added toTinyMCEandkupusettings.
If an image with this special class “Show tags (imagetags-show)” is
inserted in a text field it will be automatically replaced via AJAX
to display not only the tags but also a “Tag this picture” link
(available only for content owner).This behavior can be disabled via “Image tags settings” configlet in
control panel.Showing tagged images with<iframes />‘Tags’ tab displays a list of several pieces of HTML code to embed the
tagged image inside an<iframe />element.
HTML code can then be inserted inside a text field to display the tagged
image.This behavior can be disabled via “Image tags settings” configlet in
control panel.FeaturesHighlightsDegrades gracefully in non-JavaScript browsersAll JavaScript interaction done withjQueryandjQueryUI(dialogs, draggables, etc.)i18n support (English, French, Dutch and Spanish translations)Tested in Plone 4.0.3 and Plone 3.3.5Collage view layout provided withcollective.collage.imagetagsBrowser supportLinux: Firefox 3.6, Google Chrome 5.0Windows: Firefox 3.6, Google Chrome 5.0, Internet Explorer 7,
Internet Explorer 8Known issuesContent types with more than one image field are not fully
supported. The only missing part is to provide a way of changing
the tagging image in @@imagetags-manage browser view.InstallationAddcollective.imagetagsto the list of eggs to install, e.g.:[buildout]
...
eggs =
    ...
    collective.imagetagsTell the plone.recipe.zope2instance recipe to install a ZCML slug:[instance]
recipe = plone.recipe.zope2instance
...
zcml =
    collective.imagetagsRe-run buildout, e.g. with:$ ./bin/buildoutYou 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.Plone 3 installationAdd this line to theextendsparameter in mainbuildoutsection:[buildout]
...
extends=
    ...
    http://svn.plone.org/svn/collective/collective.imagetags/kgs/collective.imagetags.plone3.cfgUpgradesIf you already had collective.imagetags installed prior to 1.5, you’ll need to run an
upgrade step to migrate old style tag ids. Go to:ZMIportal_setupUpgradesSelect collective.imagetags:default and press “Choose Profile”Run required upgrade stepsCreditsDevelopmentMarcos F. Romero <marcos.romero {at} inter-cultura {dot} com> (developer)Juan Pablo Gimenez <jpg {at} rcom {dot} com {dot} ar> (advisor)Maurits van Rees <m.van.rees {at} zestsoftware {dot} nl> (contributor)Fred van Dijk <f.van.dijk {at} zestsoftware {dot} nl> (contributor)JeanMichel Francois <toutpt {at} makina-corpus {dot} org> (contributor)TranslationsEnglish (en): Marcos F. RomeroFrench (fr): JeanMichel FrancoisDutch (nl): Fred van DijkSpanish (es): Marcos F. RomeroChangelog1.5 (2011-05-11)Remove simplejson dependency (add it in extra require for plone3
compatibility) [toutpt]Update provided buildout to use plone4. old one has been renamed and
updated to test-plone3.cfg [toutpt]Add french translation [toutpt]Moved tag management to new adapter [marcosfromero]Changed tag ids with hyphens instead of dots [marcosfromero]Minor improvement in js_labels to avoid translation errors [marcosfromero]Tweaks to improve tag rendering and managing [marcosfromero]Important:Upgrade step to migrate tag ids [marcosfromero]1.4.6 (2011-04-26)Bug fix in AJAX image replacement and ifrmaes that made no image being
displayed at all.Bug fix in improved templates that used to duplicate html and body tags.Better embedding code for iframes.Bug fix in Plone 3 when unprotecting formUnload.CSS tweaks to provide tag hints when entering the tagged area and to
re-layout tag labels.1.4.5 (2011-04-24)Added MANIFEST.in file to make sure to include mo files in egg.Added formats=zip in setup.cfg to prevent some obscure bug in Python 2.4
(seehttps://lists.plone.org/pipermail/zopeskel/2011-April/000108.html).1.4.4 (2011-01-24)Added missing Spanish translationsDropped ajax-form to use regular form improved with jQuery/jQueryUIMoved ImageTagsLabels from old ajax-form to a new browser viewMinor bug fixes in JS for Plone 3Improved decimal separator handling in JavaScript (see change 1.4.2)Test updated according to above changesTested in Plone 4.0.31.4.3 (2011-01-12)Fixed JavaScript to also correctly create a tag the second time
[maurits]Added internationalization to some missing terms [maurits]Dutch translation [fvandijk]1.4.2 (2011-01-10)Replace JavaScript (x,y) decimal separator with server expected
decimal separator (thanks to maurits)1.4.1 (2011-01-06)Added imagetags-show class available at paragraph_styles in kupuAdded actionicons.xml for Plone 31.4 (2010-12-27)Backported to Plone 3Tested in Plone 4.0.2 and Plone 3.3.5Added known good set for Plone 3 installation (readINSTALL.txt)1.3.3 (2010-11-12)UI improvements when tagging images in @@imagetags-manage1.3.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 forapplication/json(thanks to MacYET3)Test updated according to above changesTested in Plone 4.01.3.1 (2010-07-27)Updated documentationBug fix in po files and incorrect translation in AJAX form (forms.py)1.3 (2010-07-25)Cleaner markup (more JavaScript work)Small change in CSS (z-indexfrom 200 to 150) required bycollective.collage.imagetags1.2 (2010-07-20)Show tags sorted by title fieldAdded get_sorted_tags to browser/manage.pyMoved available_sizes, tag_box, tag_title and portal_url from
browser/helper.py to browser/image.py (more sensible)Completed browser.interfaces.IImageTagsImage interface1.1 (2010-07-16)i18n supportSpanish translation1.0 (2010-07-13)Initial release