Hi Oliver, <br><div id="result_box" dir="ltr">thanks for your help, I will try to do my plugin and as soon as it has post.</div><br>Thanks and regards,<br>Karol<br><br><div class="gmail_quote">2008/11/21 Oliver Christen <span dir="ltr"><<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Hi</font></div>
<div><font size="2"></font> </div>
<div><font size="2">I can only give you some examples of code which you can get
inspiration from.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">for an example of plugin that recover the clic on map, see <a href="http://www.cartoweb.org/cwiki/HowToGetXYCoordinatesOnClick" target="_blank">http://www.cartoweb.org/cwiki/HowToGetXYCoordinatesOnClick</a></font></div>
<div><font size="2">this plugin return a simple message (...addMessage...) but you
can query a database instead, see the "locate" plugin for example of database
query. there are several other plugin also doing database queries.</font></div>
<div><font size="2">to display the image, I would say the easiest way would be to
make your plugin use ajax, so you can recover the image and open it easily via a
javascript popup.</font></div>
<div><font size="2">read the doc <a href="http://www.cartoweb.org/doc/cw3.5/xhtml/user.ajax.html" target="_blank">http://www.cartoweb.org/doc/cw3.5/xhtml/user.ajax.html</a> and
you have examples in pretty much all plugins in Cartoweb.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">regards</font></div>
<div><font size="2">Oliver</font></div>
<div><font size="2"></font> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="Wj3C7c">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="karolitab@gmail.com" href="mailto:karolitab@gmail.com" target="_blank">Karol
Briones</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="cartoweb-users@lists.maptools.org" href="mailto:cartoweb-users@lists.maptools.org" target="_blank">cartoweb-users@lists.maptools.org</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, November 12, 2008 5:59
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [Cartoweb-users] Make a plugin
that show images from db</div>
<div><br></div>Hello, I try to make a plugin that query the DB by sending the
points from the map and show the corresponding image of the point in a
diferent page, please someone that can helpme, I'm new user sorry for my
english.<br clear="all"><br>Thanks and regards,<br>Karol<br>
</div></div><p>
</p><hr>
<p></p>_______________________________________________<br>Cartoweb-users
mailing list<br><a href="mailto:Cartoweb-users@lists.maptools.org" target="_blank">Cartoweb-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
</blockquote></div>
</blockquote></div>