<div dir="ltr"><div><div><div><div>Hi all<br><br></div>We also implemented Image dynamic link in Lizmap Web Client. You need to store the image file in a "media" folder relative the the project, fill an attribute of the layer with relative path to the image files (<a href="http://e.gg">e.gg</a> "media/pictures/photo1.jpg" ) . In the web client the image is displayed in the information popup (getFeatureInfo). If the file is not a photo, Lizmap popup shows a link to the file (pdf, zip, etc.).<br>
<br>Example here : <a href="http://demo.lizmap.3liz.com/index.php/view/map/?repository=montpellier&project=montpellier&zoom=1&lat=5405666.66058&lon=431227.17957&layers=B0FTFFFFFFFTFTT">http://demo.lizmap.3liz.com/index.php/view/map/?repository=montpellier&project=montpellier&zoom=1&lat=5405666.66058&lon=431227.17957&layers=B0FTFFFFFFFTFTT</a><br>
</div>You can click on one "district" polygon to show the popup. The attribute "illustration" contains the relative path to the image (with a link to open it in a new tab).<br><br></div>The photo widget in QGIS forms is the right way to go. We must make the stored path relative to the project though, to help people move or publish the project and data easily.<br>
<br></div>Michael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/25 Brent Wood <span dir="ltr"><<a href="mailto:pcreso@pcreso.com" target="_blank">pcreso@pcreso.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><br><font face="Arial">Cheers Niklaas,</font></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
<br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><font face="Arial">The website is developed using the Silverstripe CMS, <a href="mailto:rainer@silverstripe.com" target="_blank">rainer@silverstripe.com</a> is the guy behind the web mapping stuff. The images are retrieved using a custom web service, from a local image database (now with several 100,000 images). Commercial application called Atlas (<a href="http://www.atlamd.com" target="_blank">www.atlamd.com</a>).</font></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><font face="Arial">We funded the development of a map search for images in Atlas, which we are looking to update at present. See the map search tool at </font><br>
<a href="https://atlas.niwa.co.nz/public.jsp" target="_blank">https://atlas.niwa.co.nz/public.jsp</a></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><br></div><div><font face="Arial">Enable Assets - images (right of map)</font></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><font face="Arial">update the map (button top right of map)</font></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
(don't zoom right now
 - the back end web map server is broken)</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
Choose the left hand Marquee selection tool (box)</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">draw a box around some area with images on the map</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
the images in that box will be displayed...</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"> (note that I've just added about 16,000 echogram images - they are being processed, with thumbnails, etc being generated in a low
 priority background job - so you'll see lots of entries with no thumbnails until that completes)</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
This also seems to be very similar to the sort of facility you are looking at implementing - images associated with features (or locations) on a map which can be previewed & downloaded.</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
<br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">I'm considering developing a QGIS plugin to provide similar access from a map based desktop - part of this initiative: <a href="http://www.niwa.co.nz/software/quantum-map" target="_blank">http://www.niwa.co.nz/software/quantum-map</a></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial">
Brent<br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:Arial"><font face="Arial"><br></font></div>  <div style="font-family:times new roman,new york,times,serif;font-size:12pt">
 <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Niklaas Baudet von Gersdorff <<a href="mailto:niklaas@kulturflatrate.net" target="_blank">niklaas@kulturflatrate.net</a>><br>
 <b><span style="font-weight:bold">To:</span></b> "<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>" <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> <br>
 <b><span style="font-weight:bold">Sent:</span></b> Tuesday, November 26, 2013 10:10 AM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Qgis-user] including images in (database) attributes<br> </font> </div>
<div><div class="h5"> <div><br>Hi Brent,<br clear="none"><br clear="none">Brent Wood [2013-11-25 12:38 -0800] :<br clear="none"><br clear="none">>Not quite sure how this fits your needs, but the QGIS "actions" facility was<br clear="none">
>implemented originally to do just this on the desktop - and it works well.<br clear="none"><br clear="none">OK, great I'll have a look at it!<br clear="none"><br clear="none">>Also, we did not use QGIS for this, but built an
 (Open Source) web <br clear="none">>facility to<br clear="none">>do this, with a set of images at each location:<br clear="none">>[1]<a shape="rect" href="http://www.os2020.org.nz/project-map/" target="_blank">http://www.os2020.org.nz/project-map/</a><br clear="none">
>Click a green triangle (DTIS location) to drill down to the images at each<br clear="none">>site...<br clear="none"><br clear="none">This looks great! I could at least digg in the code and get some ideas.<br clear="none">
<br clear="none">>May give you some ideas if nothing else....<br clear="none"><br clear="none">Definitely! Thank you,<div><br clear="none"><br clear="none">Niklaas<br clear="none"><br clear="none">-- <br clear="none">Niklaas Baudet von Gersdorff<br clear="none">
<a shape="rect" href="mailto:niklaas@kulturflatrate.net" target="_blank">niklaas@kulturflatrate.net</a><br clear="none"><br clear="none"><a shape="rect" href="http://www.kulturflatrate.net/niklaas" target="_blank">http://www.kulturflatrate.net/niklaas</a><br clear="none">
_______________________________________________<br clear="none">Qgis-user mailing list<br clear="none"><a shape="rect" href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br clear="none">
<a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br clear="none"></div><br><br></div> </div></div></div> </div>  </div></div><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>