The image module should use Drupal's built-in breadcrumb functionality instead of its own. The current behavior is incorrect (and inconsistent); see the Drupal 4.3.0 screenshots page for an example.

Comments

bruno’s picture

So you mean that the current page showing:

Home
Photo Galleries
galleries:Drupal 4.3.0

should become:

Home >> Photo Galleries
Drupal 4.3.0

then when clicking on the first image, it should display:

Home >> Photo Galleries >> Drupal 4.3.0
Block Overview

Correct?

dries’s picture

Correct.

bruno’s picture

Assigned: Unassigned » bruno
bruno’s picture

After some time spent learning how the breadcrumb functionality really works, I've finaly found the way to implement it in the module. :-)

mandric’s picture

i'm getting a warning that breaks the page when i try to view my personal gallery. maybe because i don't have any subalbums?

warning: Missing argument 2 for theme_image_gallery_album() in /somepath/cvs/drupal/modules/image.module on line 1334.

bruno’s picture

You are right, you cannot have subalbums in a personal gallery. The theme function is shared by personal and site galleries. I have fixed the problem in the latest CVS. Thanks for pointing out this problem.

bruno’s picture

You are right, you cannot have subalbums in a personal gallery. The theme function is shared by personal and site galleries. I have fixed the problem in the latest CVS. Thanks for pointing out this problem.

Anonymous’s picture