Taxonomy image

Jeremy@kerneltr... - May 29, 2004 - 04:23

The taxonomy_image module allows site administrators to associate images with taxonomy terms. With the association created, an admin can then make a call to 'taxonomy_image_display()' from their theme or other PHP code to display the appropriate image.

The module allows the admin to create a one-to-one term-to-image relationship. With image display recursion, it is also possible to create a many-to-one relationship. This is useful if creating taxonomy hierarchies in which an entire tree of terms will use the same image. With recursion enabled, you only need to associate an image with the tree parent, and all children will automatically inherit the same image.

Features:

  • Image configuration happens within existing admin/taxonomy menu structure.
  • Admins can add custom tags to <img> markup when displaying images.
  • Allows one-to-one term-to-image relationships.
  • Allows many-to-one term-to-image relationships.
  • Admin-permitted users can disable the images.
  • Administrators can force images to be a standard size.
  • May use the ImageCache module if it is available.
  • Works with Views.
  • Utilizes core file.inc and taxonomy.module APIs.
  • Small module with specific, focused functionality.

Comments, please

This issue post details one of my performance improvement experiments. Your comments are needed on whether to go forward with it.

This has been committed to both "-dev" releases. There will be no further official releases until there is adequate user testing and comment.

Other Modules

Other modules that are known to utilize Taxonomy Image:

Add-ons

There is a "contributed" folder that is distributed with the module. There are add-on feature modules that may be enabled if you wish. These add-ons keep the base module light-weight, yet provide requested features to those who want them.

Taxonomy Image Link Alter
Adds images to the regular taxonomy links for content types that you select.
Taxonomy Image Node Display
Automatically include images in the node display for content types that you select and in a position you prefer.
Taxonomy Image Blocks
Adds a configurable block to show the taxonomy images associated with the terms used by a node.
Taxonomy Image Attach
Support re-use of existing image nodes as taxonomy images. [Requires the Image module.] The 6.x version is waiting for issues in the Image module to be worked out.

Translation

I run the translation extractor when I update the module, so if someone wants to provide translations, the template is available. Please open a feature request with the translation (.po) module.

Releases

Official releasesDateSizeLinksStatus
6.x-1.22008-Apr-0822.73 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.22008-Apr-0830.5 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Apr-3024.72 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-May-0837.13 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2006-Nov-1315.56 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.