<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Bob,<br>
<br>
<br>
Depends on the data. Are there usually 4 photos? If so, just
create 4 columns in the Site table and populate them with the path
to photos. If it is more variable (sometimes 1, sometimes 5
photos), create a table to relate Sites to Photos:<br>
<br>
SitePhotos<br>
-----------<br>
siteID: photoPath:<br>
1234 1234Front.jpg<br>
1234 1234Rear.jpg<br>
<br>
and do a table join within Mapserver's Map file (in the LAYER's
DATA statement) to relate sites to tables.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
On 4/9/2013 1:14 PM, Bistrais, Bob wrote:<br>
</div>
<blockquote
cite="mid:D655A37D8BC306438F87579A672E3D1012A94055@OIT-TEAQEXMBX01.som.w2k.state.me.us"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I’m working on an application which depicts
various sites (several thousand of them). The customer has
photos of the different sites, each site usually has 4
pictures, from different angles. The spatial data does not
have an attribute linking the photos to a particular record.
But each photo has the site ID as part of its name. Example-
Site 1234 has photos with names like “1234Front.jpg”,
“1234Rear.jpg”, etc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I’d like to do is display search/query
results so that the corresponding photos (actually, links to
them) will appear in an Identify or query result tab. I can
form the URL’s based on the site’s ID number, but don’t know
how to insert these into the identify/query templates. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone done something similar to this,
and would have any advice on how to do this?<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
</blockquote>
<br>
</body>
</html>