Ticket #36 (new defect)

Opened 8 months ago

Last modified 7 months ago

Linebreaks in captions are not preserved

Reported by: bluemonki Assigned to:
Priority: minor Milestone: Zooomr Mark III
Component: web - Photos Version: Zooomr Mark III
Keywords: IPTC metadata captions line break Cc:

Description

Line breaks inside captions are not preserved, text 'shrinks' to one big chunk being less legible (probably a minor issue, but anyway...) -Photomotion [6/17/07 07:49 GMT]

Attachments

Change History

01/12/08 14:10:07 changed by kristate

What kind of captions? What is photomotion referring to?

01/12/08 14:11:25 changed by kristate

  • milestone changed from Zooomr Mark III to Zooomr User Review.

Moving this to Zooomr User Review -- hopefully someone can clarify this.

01/14/08 05:50:03 changed by campino2k <campino2k@gmail.com>

Clarification: I think the caption are the ones below the pictures. And, if I add new lines (spacing lines) in the caption field like

Kris Tate [Line Break]
Founder of Zooomr

these line breaks are replaced by empty strings or spaces during the submit or processing.

02/21/08 02:08:58 changed by John


Hash: SHA1

I tried testing, and only see this possibly in one type of situation. Generally, in *nix OSes, a "newline" is a LineFeed? (ASCII #10). In most other non-unix systems, a "newline" is a CarriageReturn?+LineFeed? (ASCII #13+#10), and finally, Commodore, Apple II, and Mac OS up to 9 use only a CarriageReturn?. Using HTML codes I tested each version. LF (Hello&#10;World) worked. CR+LF (Hello&#13;&#10;World) worked. A sole CR (Hello&#13;World), however, didn't work. It resulted in a space between the words. That's the only thing I can come up with though. Perhaps this user is running an older Mac OS?

- ---- Mozilla Firefox 2.0.0.12 Linux MCP 2.6.23-gentoo-r8 #1 SMP Wed Feb 20 07:31:01 EST 2008 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel? GNU/Linux


Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHvF+FR+qfHKe01Q4RAlu9AJ9dcJPlaqq2sHA9A26Ap3I7fUg6SwCfc9r3 UTaPvXpjl5kSjldTSvn9wks= =eL3U


02/23/08 01:11:53 changed by Overkill

  • keywords set to IPTC metadata captions line break.
  • milestone changed from Zooomr User Review to Zooomr Mark III.

It did not work for me, too (Windows XP + Firefox 2). Captions have been extracted from the photo's IPTC metadata (UTF-8 encoded text inserted using ExifTool).

But you can use HTML to overcome this problem. Inserting <br /> will produce a proper line break.

However this should be
a) inserted automatically during upload processing
or
b) be fixed so all kind of line breaks do work – including IPTC extracted ones (I'd prefer this).


Add/Change #36 (Linebreaks in captions are not preserved)




Change Properties
Action