<div dir="ltr"><div><div><div><div><div><div><div>Hello Vincent Picavet, hello all<br></div>I am not really familiar with HTML coding.<br></div>I am trying to add pictures changing according to my atlas feature.<br></div>My atlas feature layer has a field called picture with the name of a picture that is inside a pictures folder ( windows).<br>
<br></div>Let's say I have a path like<br></div>C:\gis\monitoring\swim\pictures\<br><br></div>the path in the html label should be written relative to the qgis project or mut it be absolute?<br><br></div>must it be something like<br>
<br><style>
<p style="margin:0px;text-indent:0px">* {margin: 0px; padding: 0px}</p>
<p style="margin:0px;text-indent:0px"></style></p>
<p style="margin:0px;text-indent:0px"><img src="file://../pictures/[% "picture" %]"</p>
<p style="margin:0px;text-indent:0px">style="width: auto; height: 100%; display: block; margin: 0px 0px 0px auto;" /></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px"><br>
</p><p style="margin:0px;text-indent:0px">or</p><p style="margin:0px;text-indent:0px"><style></p>
<p style="margin:0px;text-indent:0px">* {margin: 0px; padding: 0px}</p>
<p style="margin:0px;text-indent:0px"></style></p>
<p style="margin:0px;text-indent:0px"><img src="file://C:/gis/monitoring/swim/pictures/[% "picture" %]"</p>
<p style="margin:0px;text-indent:0px">style="width: auto; height: 100%; display: block; margin: 0px 0px 0px auto;" /></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">are there errors in my path?</p>
<p style="margin:0px;text-indent:0px">Thanks</p><p style="margin:0px;text-indent:0px">Pietro<br></p></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-28 12:08 GMT+01:00 Vincent Picavet <span dir="ltr"><<a href="mailto:vincent.ml@oslandia.com" target="_blank">vincent.ml@oslandia.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Le vendredi 28 février 2014 12:02:20, Pietro Rossin a écrit :<br>
<div class="">> Hello everybody<br>
> I am starting to use the Atlas generator in qgis, It's really Nice and time<br>
> saving tool!<br>
><br>
> I was able to add a main map and an overview that change according to the<br>
> feature showed.<br>
> I'm asking if it's possible to add a picture placeholder to show a<br>
> different picture (ex photograph) according to the feature mapped.<br>
><br>
> Is it possible?<br>
<br>
</div>Yes you can.<br>
Just follow this blog post :<br>
<a href="http://nyalldawson.net/2013/04/a-neat-trick-in-qgis-2-0-images-in-atlas-
prints/" target="_blank">http://nyalldawson.net/2013/04/a-neat-trick-in-qgis-2-0-images-in-atlas-<br>
prints/</a><br>
<br>
Vincent<br>
<div class=""><br>
> And if positive, how can I do that?<br>
> Thanks<br>
> Pietro<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://osgeo-org.1560.x6.nabble.com/Atlas-generation-can-added-images-chan" target="_blank">http://osgeo-org.1560.x6.nabble.com/Atlas-generation-can-added-images-chan</a><br>
</div>> ge-tp5106567.html Sent from the Quantum GIS - User mailing list archive at<br>
<div class="HOEnZb"><div class="h5">> Nabble.com. _______________________________________________<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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>