Closed (fixed)
Project:
Thickbox
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2007 at 14:50 UTC
Updated:
29 Jun 2007 at 01:16 UTC
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
Comment #1
frjo commentedI 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.
Comment #2
ray007 commentedapplied the change manually, but seems to work fine, thanks.
Comment #3
frjo commentedComment #4
(not verified) commented