Hello,

I'm using Drupal 5.1 with latest Image 5.x-1.x-dev. Now I've installed Thickbox 5.x-1.x-dev. Thick box configuration settings page appears in admin part. I've enabled "Enable for image nodes" check box and set "Image derivative" to "preview".
But when I went to galleries nothing is changed :( It looks like there is no Thickbox module at all (except few string in html source, where thickbox_auto.js and thickbox.js are imported).

Could you help me to solve this situation, may be I'm doing something wrong?

Comments

Mini_me-1’s picture

I've found the problem. Image module has changed style for thumbnail from "thumbnail" to "image-thumbnail". Thats why thickbox module couldn't automatically process images from galleries.
Solution was simple change line in thickbox_auto.js

$("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) {

After such changes thickbox start working in the galleries.

But I've noticed that in FierFox, when thickbox window with image is opened, annoying horizontal bar appears. In IE thickbox is displayed correctly.
Does anybody see such behavior and is there some solution to rid of this annoying scrolling in FF.

WebWeasel’s picture

I'm not seeing the problem in Firefox but your fix worked like a charm.

cyaneo’s picture

Can't get it work - Is there a solution for Drupal 5.1 + imagecache?

frjo’s picture

Status: Active » Closed (duplicate)