Member
Member
aaron   08-11-2007, 15:49
#1

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?

Member
Member
sbillard   08-11-2007, 17:11
#2

You can try using in place of newline.

Member
Member
aaron   08-11-2007, 17:20
#3

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.

Member
Member
aaron   08-11-2007, 17:34
#4

Correction, there are 27px between each line when a is used.

Member
Member
sbillard   08-11-2007, 18:05
#5

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.)

Member
Member
sbillard   08-11-2007, 18:33
#6

OK, found the problem--getImageDesc() replaces newline with a . It should replace cr/newline as well. Fix is in the SVN and will be in the nightly tonight.

Member
Member
aaron   08-11-2007, 20:25
#7

ok, great, thanks!

Member
Member
aaron   08-11-2007, 20:34
#8

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.