simple viewer: caption and description for images.
Posted: Tue Feb 01, 2011 12:33 pm
hi!
i didn't found a lightweight extension with the features of the simpleviewer extension.
by the other side, i was unable to add caption and description to the images, but a single line only.
to resolve this situation, wanted to share with you all a little trick that makes the work.
in the imagen caption field add "<![cdata[" at the beginning and close it with "]]>" (without the quotes).
doing this the object will properly interpret the html tags.
here an example:
<![cdata[<font size="20">your title goes here</font><br>your description goes here.<br>you can use linebreaks, <b>bold</b>, <u>underline</u> and <i>italics</i>.]]>
thanks you all for your tricks and knowledge, i learn a lot from you.
best regards.
i didn't found a lightweight extension with the features of the simpleviewer extension.
by the other side, i was unable to add caption and description to the images, but a single line only.
to resolve this situation, wanted to share with you all a little trick that makes the work.
in the imagen caption field add "<![cdata[" at the beginning and close it with "]]>" (without the quotes).
doing this the object will properly interpret the html tags.
here an example:
<![cdata[<font size="20">your title goes here</font><br>your description goes here.<br>you can use linebreaks, <b>bold</b>, <u>underline</u> and <i>italics</i>.]]>
thanks you all for your tricks and knowledge, i learn a lot from you.
best regards.