I have set up a content type called "Photo" and I use ImageCache 5.x-2.3 to create two presets: photo_thumb and photo_large. I then use views and bonus views:Grid to create an image gallery that displays the thumbnails. When you click on a thumbnail, Thickbox opens and shows the larger image.

When Imagecache creates the new image, it places it in the /files/imagecache/image_large folder. Thickbox displays the image from where my new image field saved it which is /files/photos/

I know that there is some code to help thickbox work with Imagecache, but I am no sure if this works for the file path issue that I am having. Any help would be appreciate... even a temporary hack.

Thanks!
Kate

Comments

frjo’s picture

Status: Active » Fixed

Thickbox has built in support for imagefield+imagecache. You simply select the right formatter "Thickbox: [name of imagecache preset]".

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nodecode’s picture

Status: Active » Closed (fixed)

Could you further explain what you mean by this

You simply select the right formatter "Thickbox: [name of imagecache preset]".

Where do you select this? I don't see anything in the Thickbox settings? Does this have something to do with theming? I'd really love to try your suggestion, just need a little direction. Thanks.

PS. I am using Thickbox 5.x-2.1

nodecode’s picture

Status: Closed (fixed) » Active
frjo’s picture

Status: Closed (fixed) » Fixed

Sorry for misreading your question. I was talking about the settings "Display fields" settings on each content type (and in views).

But you where asking about the image that is displayed in the thickbox itself.

I the Drupal 5 version there are no options for this. I the Drupal 6 version there is a global option for selecting the imagecache preset to display in the thickbox.

For Drupal 5 you will need to override theme_imagefield_image_imagecache_thickbox() in you theme and adjust it to your needs. See Thickbox is not looking for the file in the Imagecache directory | drupal.org for information on that.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.