In certain scenarios (in particular, mine!), it is not possible to hide the caption display. I.e., I am using image.module gallery with automatic image handling. The caption is picked up from the image title (which is a required field for image.module, so can't be simply left blank), and is inserted by the Javascript. Attempts to hide the caption using CSS are overridden by the Javascript, which sets style="display: inline" on the caption element.
There are options to turn off the display of most parts of the lightbox in the admin UI, along the lines of 'text to display for XXX (leave blank to hide)'. But there is no option for the caption.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | lightbox2-653166-1.patch | 3.97 KB | malclocke |
Comments
Comment #1
malclocke CreditAttribution: malclocke commentedAttached patch adds a checkbox 'Show caption' to the admin UI and modifies the JS accordingly.
Comment #2
stella CreditAttribution: stella commentedcommitted, thanks.