Olympus-OM
[Top] [All Lists]

Re: [OM] hyperlink in a JPEG file : possible ?

Subject: Re: [OM] hyperlink in a JPEG file : possible ?
From: Moose <olymoose@xxxxxxxxx>
Date: Sat, 23 Jan 2016 21:00:48 -0800
On 1/22/2016 9:31 PM, Moose wrote:
On 1/22/2016 5:25 PM, John Hudson wrote:
To be specific I would like to embed latitude and longitude co-ordinates in an image as a hyperlink linked directly to Google Earth.

Where/how are you planning to display the image(s)?

I don't know how, or if it is possible, to do what you want to do. Lat-Long is easily embedded in standard EXIF entries, but I don't believe there is a place for a link URL. Even if there were, or if there were some other place where it was embedded, all the major browsers would have to recognize it and offer to act on it.

It is possible to display an image, either by itself or on a page, using pretty simple HTML, so that clicking on the image will take one to the link, Google Maps or what ever you want.

Here's an example.* <http://www.moosemystic.net/Gallery/tech/GMapsLink/BusyB.htm> But without a note, who would know to click on the image to get a map of its location?

Scripting languages could also do it, within a script that displays image(s). I've added to the PHP code in the Singapore Gallery that I use that reads and displays Lat-Long. It wouldn't be difficult to make the location display into a link to Google Maps.

Hey, thanks for the idea! My version of Singapore Gallery now provides a map link for any image with Lat-Long in the EXIF! <http://galleries.moosemystic.net/MooseFoto/index.php?gallery=Travel/NorthEast_2013/Flutterbys&image=_9299398croofm.jpg>

Locations Are Moose

* Here's the HTML code for this, with a line added to note the map linking:

<HTML>
        <HEAD>
                <TITLE>Busy B</TITLE>
        </HEAD>

<BODY bgcolor=#000000 text=#FFFFFF link=#0000FF vlink=#800080 alink=#FF0000 
align=center>

<P><CENTER><FONT size=5 face=Arial>Busy B</FONT></CENTER></P>
<P><CENTER><FONT size=3 face=Arial></FONT>Click on image to see a map of its 
location.</CENTER></P>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>

    <td valign="middle" align="center"><a 
href=https://www.google.com/maps/place/47%C2%B036'32.0%22N
+122%C2%B010'48.2%22W/@47.6075417,-122.1830966,16z/data=!4m2!3m1!1s0x0:0x0 
target="_blank">
<img src="_B001849croofm.jpg"  WIDTH=1040 HEIGHT=880 ALIGN="center">

</a></td></tr></tbody></table>

<P><CENTER><FONT size=3 face=Arial></FONT></CENTER></P>
<P><CENTER><FONT size=3 face=Arial></FONT>© Moose - 2015 - moose at moosemystic dot 
net</CENTER></P>
<P><CENTER><FONT size=3 face=Arial></FONT></CENTER></P>
<P><CENTER><FONT size=3 face=Arial> </FONT></CENTER></P>

</BODY>

</HTML>

-- =====================================
What if the Hokey Pokey *IS* what it's all about?
--
_________________________________________________________________
Options: http://lists.thomasclausen.net/mailman/listinfo/olympus
Archives: http://lists.thomasclausen.net/mailman/private/olympus/
Themed Olympus Photo Exhibition: http://www.tope.nl/

<Prev in Thread] Current Thread [Next in Thread>
Sponsored by Tako
Impressum | Datenschutz