simple viewer: caption and description for images.

Do you want to share WYSIWYG Web Builder tips, tricks, tutorials or useful HTML code? You can post it here...
(no questions or problems please, this section is not monitored by support).
Forum rules
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.

PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

simple viewer: caption and description for images.

Post by [RZ] »

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.
Post Reply