Topic: Include (R), (TM) & (C) in captions?

Hey there,

I was wondering if there's any way to include (R), (TM) & (C) signs in the simpleviewer captions?

regards
G.

Re: Include (R), (TM) & (C) in captions?

Yes.
Just type in ALT + 0169, ALT + 169 and ALT + 0153 for ©, ® and ™ respectively (or copy and paste the symbols in this post into your caption).
Your caption will look like something like this:

<caption> © ® ™ </caption>
Steven Speirs
SimpleViewer Support Team.

Re: Include (R), (TM) & (C) in captions?

That was fast! Thanks for that.

Copy & paste works like a charm - excellent.

I just realized that <sub>®</sub> doesn't work. Is there something working in a similar way?

G.

Re: Include (R), (TM) & (C) in captions?

Adobe Flash Player does not support the HTML <sub> tag.
The HTML tags supported by Adobe Flash Player can be found here: http://livedocs.adobe.com/flash/9.0/Act … l#htmlText

You could perhaps use different font faces and sizes for the text and the '®'.
It might not be exactly what you are looking for but it might be as close as you can get.

<caption><![CDATA[<font face="Times" size="24">Text goes here</font><font face="Verdana" size="12">®</font>]]></caption>
Steven Speirs
SimpleViewer Support Team.

Re: Include (R), (TM) & (C) in captions?

Sounds good, I'll give it a shot. Thanks again.

Re: Include (R), (TM) & (C) in captions?

Ok, I tried it and it's not exactly what I want.

The link you provided gave me the idea to use a *.png with transparency instead.

It says: "The <img> tag lets you embed external image files (JPEG, GIF, PNG), SWF files, and movie clips inside text fields. Text automatically flows around images you embed in text fields. You must set the text field to be multiline to wrap text around an image."

The part with "automatically flows around images" is a problem because <br> doesn't seem to work. Know any workarounds?
I want the "Headline" image in the first line and the rest of the text in the next.

G.

Re: Include (R), (TM) & (C) in captions?

Try two line breaks immediately after one another (<br><br>).
Also, in order to justify the image to the left-hand side of the caption area (which would be in line with the text below it), you may have to use the attribute halign="0" in your <img> tag.
eg:

<caption><![CDATA[<img src="headline.png" halign="0"><br><br>Text goes here]]></caption>
Steven Speirs
SimpleViewer Support Team.

Re: Include (R), (TM) & (C) in captions?

Didn't work, neither adding additional <br> nor the halign="0" tag sad

Here is the caption code I'm trying to get to work (with placeholders).

<caption><![CDATA[<img src="Headline.png"></img><br><font size="20" color="#2385CA"><b>Lego<font size="15">®</font> 8475</b></font><br><b>bold text</b><br><u><a href="index.html" target="_blank">link text</a></u><br>3DS Max, vRay, Photoshop]]></caption>

G.

Re: Include (R), (TM) & (C) in captions?

Try wrapping your <img> tag in <p></p> tags.
Also, you might need to use a few more <br> tags to push the text onto the next line, depending on the size of your image.

Steven Speirs
SimpleViewer Support Team.

Re: Include (R), (TM) & (C) in captions?

That seems to do something. When adding <p></p> it takes only the same amount of <br>'s as lines after the <img>.

Problem is, it pushes the text out of the caption. I've set the captionHeigth="500" - no effect. I looked in the Help for clues and found the floatCaption option. I either got it wrong or it doesn't work but setting floatCaption to false had no effect either.

I also tried characters only - 1 to 10, seperated by a <br> - it only displays the numbers 1 to 5. That's odd, isn't it?

G.

Re: Include (R), (TM) & (C) in captions?

I stand corrected - setting captionWidth & captionHeight to the values of maxImageWidth & maxImageHeight seems to do the trick, I just wrote it wrong in the gallery.xml

So, everything seems to work now. Thank you so much for your help Steven, much appreciated.

If something else comes up, I'll let you know wink

regards
G.