Results 1 to 8 of 8

Thread: Photo to placemark.

  1. #1
    Super Moderator
    Join Date
    Jan 2006
    Location
    Denmark
    Posts
    2,778

    Smile Photo to placemark.

    How do I add a photo to a placemark, I have tried so much but never succeded.

    Can anyone help?

  2. #2
    Member Jens's Avatar
    Join Date
    Aug 2005
    Location
    55.667, 12.59682
    Posts
    33

    Default

    Do you mean in the nice presentation box that pops up when you click on a placemark?
    Geography spreads all over the world. STOP GEOGRAPHY NOW!

  3. #3
    Senior Member Zothip's Avatar
    Join Date
    Nov 2005
    Posts
    218

    Default

    PHP Code:
    <img src='www.dns.com/pic.jpg'
    cheers

  4. #4
    Senior Member Zothip's Avatar
    Join Date
    Nov 2005
    Posts
    218

    Default

    And...

    If you want to change the color of the balloon, add this after the <icon id="whatever">
    PHP Code:
        <BalloonStyle>
          <
    color>FF0080</color>
        </
    BalloonStyle
    Just change the color code.

    here is a nice example of colored balloons and pictures.

  5. #5
    Member Jens's Avatar
    Join Date
    Aug 2005
    Location
    55.667, 12.59682
    Posts
    33

    Default

    I use this for pictures on the web:

    <img src="PICTURE ULR HERE" width="XXX" height="XXX" border="0"><br>
    <a href="PICTURE ULR HERE">TEXT HERE</a>

    It adjusts the picture's height and width and adds a link to the original picture as well using the picture text.
    Geography spreads all over the world. STOP GEOGRAPHY NOW!

  6. #6
    Junior Member
    Join Date
    Jun 2011
    Posts
    1

    Default Google Earth Placemark Pictures Help

    I am trying to add a picture from my hard drive instead of the internet I put in the file path and all I am getting is a grey box instead of a picture any advice on this?

  7. #7
    Moderator Emeritus Appletom's Avatar
    Join Date
    Jul 2005
    Location
    El Paso, Texas
    Posts
    1,279

    Default

    Pretty sure cathar1234 that you have to have the picture on the internet. The picture won't be part of the kmz file, it will be called for display in GE by the kmz file.

    Hopefully someone wiser than myself will chime in.

  8. #8
    Super Moderator Munden's Avatar
    Join Date
    Aug 2006
    Location
    Maryland, USA
    Posts
    939

    Default

    It's possible to link to a local file on your computer, but you cannot share this placemark. The thing is that you have to remember that you're not giving a file path, but it's a URL path. That will not simply be C:\pictures\yay.jpg or whatever yours might be. Your URL can look like this:

    file:///C:/Pics/Art/Paintings/JohnSingerSargent/Mrs_Fiske_Warren_and_Her_Daughter.jpg

    thus:
    <center>
    <img width=600 src="file:///C:/Pics/Art/Paintings/JohnSingerSargent/Mrs_Fiske_Warren_and_Her_Daughter.jpg">
    </center>

    It will continue to pull up that image from the placemark you've made in your MyPlaces listing. If you save this to a separate KMZ outside of your MyPlaces and then try to open that KMZ, you'll find that the image isn't in the placemark anymore. If you simply want to show it to people on that computer (as one might in a classroom) then you're fine. If you want to share it, you'll have to put it on a picture sharing website and link to that.

    The exception to this rule is custom icons. Those get bundled into your KMZ archive and the references in your placemarks are automatically updated to use that file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •