in theme_imagefield_image_imagecache_thickbox() the title-attribute is tacked onto the img-tag instead of the surrounding a-tag.

TB_init() in thickbox.js takes only a title- or name-attribute from the a-tag, not from the enclosed image. Moving the title-attribute from the img-tag to the a-tag makes things work better ;-)

Comments

frjo’s picture

I just committed a update to HEAD that should fix this, I also made use of the l() function to build the link.

I don't yet use this neat function on any site so the code is untested. Please try it out and report back here.

ray007’s picture

applied the change manually, but seems to work fine, thanks.

frjo’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)