Closed (fixed)
Project:
Thickbox
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2009 at 16:37 UTC
Updated:
3 Dec 2009 at 08:40 UTC
Hello, I am using Thickbox with the Image Module. After patching to the newest Drupal version the Thickbox always closes the window when I click on the Pictures instead of jumping to the next picture. Can anyone help me to solve this problem?
Comments
Comment #1
achernen commentedI have the same issue
Comment #2
frjo commentedExample page?
Does all the image links have the same "rel" attribute? That's how Thickbox knows what images to group as a gallery.
Comment #3
achernen commentedComment #4
achernen commentedfor example, here
http://www.antonchernenko.info/image/tid/2
It shows only one image and closes on click, no matter of settings I choose in thickbox
however, I run the same site locally, having exactly the same content, modules etc and it work great there..
I have the same problem with lightbox2
Comment #5
frjo commentedThe jQuery script thickbox_auto.js that takes care of supporting the image module seems to assume that galleries are built with ul-tags. The example above is a table.
My guess is that the image module has made some changes and that thickbox_auto.js needs to be updated.
I don't use the image module myself and support for it was contributed from other users. If someone sends in a clean looking patch and I get confirmation that it works I will commit it.
Looking forward I would recommend you all started to use Imagefield/Imagecache/Views/Views attach for image galleries instead. All but the last module are included in Drupal 7 and they have good stable releases for Drupal 6.
This screencast shows how it's done and they have even packed it all up as a feature.
Photo galleries with Views Attach | Lullabot
Comment #6
achernen commentedtack! I will try it out!
Comment #7
achernen commentedI found the reason, the problem was with image_gallery view, I changed style: grid to gallery and now it works fine
I had a look at lullabot way, cant say I like it..