Adding caption to photo?

4 views
Skip to first unread message

terrypin

unread,
Jun 13, 2007, 4:36:32 AM6/13/07
to gpicsync
This is probably off topic but... Is it possible to have additional
text displayed, apart from the Name, when I click a photo placemark
please? I'd like to be able to add a short note, ideally extracted
directly from the JPG Comment embedded in the original photo.

--
Terry, West Sussex, UK

terrypin

unread,
Jun 13, 2007, 4:53:26 AM6/13/07
to gpicsync
OK, thanks, after a little more study I see how to do it. I simply r-
click the entry in GE, select Properties, and add my extra text before
the name. For example, the entry might become:
Crossing Henley Bridge near the start of the second day's walk, Henley
to Maidenhead. <img src='files/20050814-091543.jpg' width='600'
height='337'/>

One odd consequence is that the icon has changed, from its standard
black and blue camera on a green circle background, to a yellow
pushpin. Some bug in GE maybe?

francois...@gmail.com

unread,
Jun 13, 2007, 4:55:06 PM6/13/07
to gpicsync

I don't have this problem on my version of GE but it looks like when
you save your kml form GE it adds his own styles by default.

If you edit the kml in a text editor (not a word processor) you can
add your comments and save the kml from your editor.

You must search for <Placemark> tags. In the <description> tag
everything which appear when you click on your icon is inside <!
[CDATA[ .............>]] so you can add here any additional html
element.

For example:

<Placemark>
<name>IMG_3476.JPG</name>
<description><![CDATA[<p>Terry was There!</p><img src='IMG_3476.JPG'
width='701' height='400'/>]]></description>
<styleUrl>#camera</styleUrl>
<Point>
<coordinates>8.07073348,48.42714932,0</coordinates>
</Point>

francois

terrypin

unread,
Jun 14, 2007, 4:17:15 AM6/14/07
to gpicsync
For me it's easier to type it directly into the Description box in GE
as I described.

For example, if I type this extra text (leaving the img src
unchanged):

Crossing Henley Bridge near the start of the second day's walk, Henley

to Maidenhead. Finish this with a Return.
<img src='GPICSY~1.KMZ/files/20050814-091543.jpg' width='600'
height='337'/><br>Comments after the image should be preceded with a
line break as shown here, otherwise it seems a few characters will
appear wrapped by the bottom right corner of the image.

...I get this result in GE:

Crossing Henley Bridge near the start of the second day's walk, Henley

to Maidenhead. Finish this with a Return.
PICTURE IS HERE, flush under the above comment.
Comments after the image should be preceded with a line break as shown
here, otherwise it seems a few characters will appear wrapped by the
bottom right corner of the image.

francois schnell

unread,
Jun 14, 2007, 8:03:04 AM6/14/07
to gpic...@googlegroups.com
On 6/14/07, terrypin <terr...@dial.pipex.com> wrote:
>
> For me it's easier to type it directly into the Description box in GE
> as I described.

Yes I know this, I was just trying to show you an alternative for
your particular problem.

>
> For example, if I type this extra text (leaving the img src
> unchanged):
>
> Crossing Henley Bridge near the start of the second day's walk, Henley
> to Maidenhead. Finish this with a Return.
> <img src='GPICSY~1.KMZ/files/20050814-091543.jpg' width='600'
> height='337'/><br>Comments after the image should be preceded with a
> line break as shown here, otherwise it seems a few characters will
> appear wrapped by the bottom right corner of the image.
>
> ...I get this result in GE:

Yes that is why in my above post I've used:

<p>Terry was There!</p>

Notice the <p> tag? In html it is a paragrah and it wont be cut by the picture.

As I said everything that is in the description is HTML so if you want
to go further have a look at HTML tags and also KML and GE related
forums.

francois

Reply all
Reply to author
Forward
0 new messages