See http://drupal.org/node/148993, an issue related to the Taxonomy Breadcrumb module in combination with Image Gallery.

Comments

_craig’s picture

Quoting the referenced issue:

There is a problem when both modules are turned on and the option "show the current term in breadcrumb" is also on. The image gallery uses a different way of showing its contents, not using the regular term/x url but using image/tid/x. So the breadcrumbs don't work for image galleries, they show a list of images (just the name), without showing an image preview.
You could think of it as if the image gallery is shown in "bare taxonomy term" view.

I think the answer is to patch the image module somewhere in the menu callback function for image/tid/x, do the following:
if the taxonomy_breadcrumb module is enabled. If true execute:

  $breadcrumb = taxonomy_breadcrumb_generate_breadcrumb($tid, TRUE);
  drupal_set_breadcrumb($breadcrumb);

where $tid is the term-id of the lightest term of the lightest vocab of the image

SabbeRubbish’s picture

Thank you for a possible solution, but I was more aiming to just report the bug, as I'm no longer using the image module. Just wanted to help you find new bugs by posting this (small) issue.

Greetz,
SabbeRubbish

drewish’s picture

I don't think it's a good idea to add code specifically for the taxonomy breadcrumb module...

sun’s picture

Status: Active » Closed (won't fix)

Agreed.