Thickbox with CCK imagefield

DesignWork - May 14, 2007 - 21:42
Project:Thickbox
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Dear Mantainers,

I´m using Thickbox module with the CCK imagefield. I would like to see the the image titel and the description in my Gallery.
Do you have any idea how to do this? I´m not a javascript coder so what i have to do?

Please have a look at my testingsite www.freelens.ws/dirksway

Thanks in advance

Dirk

#1

ray007 - May 23, 2007 - 11:55

subscribing

#2

DesignWork - May 30, 2007 - 08:59

I found a solution quite easy.

In the function theme_imagefield_image_imagecache_thickbox just change the return "herf" from:

'.......

to: return '

Dirk

#3

DesignWork - May 30, 2007 - 09:01

Sorry something went rong

I found a solution quite easy.

In the function theme_imagefield_image_imagecache_thickbox just change the return "herf" from:

a href="'. check_url(file_create_url($path)) .'" class="thickbox" rel="'. $field['type_name'] .'".......

to: return a href="'. check_url(file_create_url($path)) .'" title="'. ($title) .'" class="thickbox" rel="'. $field['type_name'] .'"

#4

frjo - May 30, 2007 - 10:41

This is already fixed in HEAD. Please try it out and report any issues here.

#5

frjo - June 5, 2008 - 18:53
Status:active» fixed

#6

Anonymous (not verified) - June 19, 2008 - 19:01
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.