Newlines and breaks in simpleviewer captions

I have bought simpleviewer pro and converted it to match my needs with the exception of one thing. When I put caption text into the zenphoto form in the admin section, the breaks created have a lot of space in between them. Usually, breaks just create a newline, but this seems to convert it to a paragraph style. I've tried setting it in the CSS, but no luck, so I'm guessing Flash is setting this or something is happening in the conversion to the XML file for simpleviewer. Can anyone help?

Comments

  • You can try using <br/> in place of newline.
  • Well, I never actually use a newline, I just type the information into the caption box. At some points, I need a newline. But, I don't need 10px of space between the lines.
  • Correction, there are 27px between each line when a `
    ` is used.
  • So, you are describing the leading. Guess that is controled by simpleviewer. Since you have the Pro version, presumably you could fix that. Never looked into the pro version, so can't help you there (and from what I have experienced with the simpleviewer forum, you are unlikely to get help there either.)
  • OK, found the problem--getImageDesc() replaces newline with a <br/>. It should replace cr/newline as well. Fix is in the SVN and will be in the nightly tonight.
  • ok, great, thanks!
  • Btw, could you copy and paste your function code here? I've actually been working with getImageDesc() today and couldn't get it to work. For me, a newline or a break does the same thing, 27px of space.
Sign In or Register to comment.