Changes on a class from the Image modules require the following changes on thickbox_auto.js at least for Drupal 5.1 version (probably also for previous versions):

Line 10
From:
$("ul.galleries a[img.image.thumbnail]").addClass("category");
To:
$("ul.galleries a[img.image.image-thumbnail]").addClass("category");

And line 32
From:
$("a[img.image.thumbnail]", context).not(".thickbox").not(".category").each(function(i) {
To:
$("a[img.image.image-thumbnail]", context).not(".thickbox").not(".category").each(function(i) {

Patched thickbox_auto.js attached as thickbox_auto.new.js to avoid confusion until fully tested.

Hope it helps.

CommentFileSizeAuthor
thickbox_auto.new_.js_.txt1.69 KBAlejandro Malo

Comments

frjo’s picture

Assigned: Alejandro Malo » frjo
Status: Needs review » Fixed

Committed to Drupal-5 and HEAD, thanks for the heads up on this.

When you send in code like this the most helpful is to do it as a patch. The following Drupal help page explains it well.

http://drupal.org/patch

Anonymous’s picture

Status: Fixed » Closed (fixed)