Topic: noob question about altering caption text

what's wrong with this code?

<image>
    <filename>Bamboo Action Map, 2003_800x375.jpg</filename>
    <caption><!&#91;CDATA&#91;One morning, when <font color="#ffff00" size="30">Gregor Samsa</font> woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.&#93;&#93;</caption>    
</image>

i've been playing with the basic template and altering things to see how it works.

when i use the code above, the caption disappears along with all of the pictures that follow this code.

thanks,
BabaG

here's the entire gallery xml:

<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery 

             maxImageWidth="800" 
             maxImageHeight="600" 
             textColor="0xFFFFFF" 
             frameColor="0xFFFFFF" 
             frameWidth="5" 
             stagePadding="40" 
             navPadding="40" 
             thumbnailColumns="3" 
             thumbnailRows="3" 
             navPosition="left" 
             vAlign="center" 
             hAlign="center" 
             title="&lt;font size="40"&gt;Print and Drawings&lt;/font&gt;" 
             enableRightClickOpen="true" 
             backgroundImagePath="" 
             imagePath="" 
             thumbPath=""
>

<image>
    <filename>A Serious Scotch, 2000_761x600.jpg</filename>
    <caption><!&#91;CDATA&#91;Captions can be HTML formatted. Supported tags are <b>bold</b>, <u>underline</u>, <i>italics</i>, <u></u>, linebreaks<br> and <font color="#ffff00" size="30">font tags</font>.&#93;&#93;></caption>    
</image>

<image>
    <filename>Bamboo Action Map, 2003_800x375.jpg</filename>
    <caption><!&#91;CDATA&#91;One morning, when <font color="#ffff00" size="30">Gregor Samsa</font> woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.&#93;&#93;</caption>    
</image>

<image>
    <filename>Costume Figures, Amsterdam, 2002_800x434.jpg</filename>
    <caption>The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked. "What's happened to me? " he thought. It wasn't a dream.</caption>    
</image>

<image>
    <filename>Drawing, Untitled 9 19 04_474x600.jpg</filename>
    <caption>Caption 4One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.</caption>    
</image>

<image>
    <filename>Drawing, Untitled, 6 01 97_448x600.jpg</filename>
    <caption>Caption 5</caption>    
</image>

<image>
    <filename>Drawing, Untitled,12 12 95_436x600.jpg</filename>
    <caption>Caption 6</caption>    
</image>

<image>
    <filename>Owens Valley Stack_171x600.jpg</filename>
    <caption>Caption 7</caption>    
</image>

<image>
    <filename>Red Skaters, 2004_453x600.jpg</filename>
    <caption>Caption 8</caption>    
</image>

<image>
    <filename>SMMoA drawings in case_800x535.jpg</filename>
    <caption>Caption 9</caption>    
</image>

<image>
    <filename>SMMoA Final Island Trio 2003_800x536.jpg</filename>
    <caption>Caption 10</caption>    
</image>

<image>
    <filename>SMMoA PO with portraits_800x577.jpg</filename>
    <caption>Caption 11</caption>    
</image>

<image>
    <filename>Swordfish 1, 2002_800x399.jpg</filename>
    <caption>Caption 12</caption>    
</image>

<image>
    <filename>The Architect as a bird, 2004_509x600.jpg</filename>
    <caption>Caption 13</caption>    
</image>

<image>
    <filename>The Triumph of Flattery,1998_764x600.jpg</filename>
    <caption>Caption 14</caption>    
</image>

</simpleviewergallery>

Re: noob question about altering caption text

You need to close the CDATA section with a > before </caption>.
So the full code would be:

<image>
   <filename>Bamboo Action Map, 2003_800x375.jpg</filename>
   <caption><!&#91;CDATA&#91;One morning, when <font color="#ffff00" size="30">Gregor Samsa</font> woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.&#93;&#93;></caption>   
</image> 
Steven Speirs
SimpleViewer Support Team.

Re: noob question about altering caption text

i knew that. doh!  wink

thanks,
BabaG