Closed (won't fix)
Project:
Galleria
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2009 at 23:29 UTC
Updated:
16 Jan 2009 at 11:24 UTC
Can someone explain to me why I cannot use html in the caption field? Is there a fix for this, or am I doing something wrong? I have the CCK captions field set to "Filtered text (user selects input format)" and have tried selecting full HTML, but it just prints the tags...
(Love the module!!)
Comments
Comment #1
jenpasch commentedI know that I could style the whole caption with css, but I'd like to associate a link with the image (it's a portfolio).
cheers
Comment #2
jenpasch commentedChecked on the devkick forum and found this ugly, non-validating hack.
http://devkick.com/talk/topic/186/captions-with-line-breaks/
It works...fwiw
Comment #3
Mark Theunissen commentedDrupal's theme_image() function explicitly strips out HTML from alt tags and the title. This is probably because it's a W3C spec. Since Galleria relies on the title tag for it's caption, unfortunately you can't have HTML in there.