<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Till,<br>
    Thanks for your quick response.<br>
    <div id="gt-src-tools">
      <div id="gt-src-tools-l">
        <div style="display: inline-block;" id="gt-input-tool">
          <div id="itamenu"><span class="ita-kd-inputtools-div"></span></div>
        </div>
      </div>
    </div>
    <div id="gt-res-content" class="almost_half_cell">
      <div dir="ltr" style="">
        <div id="tts_button" style="" class=""><object
            type="application/x-shockwave-flash"
            data="//ssl.gstatic.com/translate/sound_player2.swf"
            id="tts" height="18" width="18"></object></div>
        <span id="result_box" class="" lang="en"><span class="hps">The
            path</span> <span class="hps">is not the problem</span><span
            class="">.</span> <span class="hps">I</span><span class="">'ve
            tried</span> <span class="hps">several variations</span> <span
            class="hps">without any success</span><span>.<br>
            I debugged in the layer section but that doesn't give any
            result.<br>
          </span></span><span id="result_box" class="" lang="en"><span>"REQUEST=GetLegendGraphic&mode=legendicon&icon=bag_adres"
            gives a lovely with rectangle</span></span>.<br>
        <span id="result_box" class="" lang="en"><span></span></span><span
          id="result_box" class="short_text" lang="en"><span class="hps">Another
            idea</span><span class="">?<br>
            thanks<br>
            gr Fons</span></span><span id="result_box" class=""
          lang="en"><span></span></span><br>
      </div>
    </div>
    <br>
    <br>
    <hr>
    <pre>Hi Fons,

it looks like mapserver does not find your pixmap-file.

You know that the path

"/pixmap/..."

means, that mapserver looks for this file in the servers root directory?

If the pixmap is stored relative to the mapfile, remove the leading "/" 
in your path:

"pixmap/...."

Till</pre>
    <br>
    <br>
    On 19-11-2013 14:19, Fons Arts wrote:
    <blockquote cite="mid:528B6549.6040001@gisarts.nl" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi list,<br>
      <br>
      I trying to overrule a  hardcoded legendicon Az (annotation) with
      a pixmap in the class section.<br>
      <br>
      <img src="cid:part1.00040901.02070707@gisarts.nl" alt=""><br>
      <br>
      map file<br>
      LEGEND<br>
        STATUS on<br>
        KEYSIZE 26 13<br>
      END<br>
      <br>
          LAYER<br>
              CONNECTIONTYPE postgis<br>
              NAME "bag_adres"<br>
              GROUP "bag_adres"<br>
              CONNECTION
      *************************************************************<br>
              DATA "geom from public.bag_adres USING UNIQUE oid"<br>
              TYPE ANNOTATION<br>
              TOLERANCE 10<br>
              MAXSCALE 3500<br>
              MINSCALE 0<br>
              STATUS ON<br>
              LABELITEM "huisnummers"<br>
              TEMPLATE "blank.html"<br>
              CLASS<br>
                  NAME 'Huisnummers'<br>
      <b>            KEYIMAGE "/pixmap/adres.png"</b><br>
                  LABEL<br>
                      COLOR 0 0 0<br>
                      SHADOWCOLOR 255 255 255<br>
                      TYPE truetype<br>
                      FONT arialvet<br>
                      SIZE 8<br>
                      POSITION CC<br>
                      PARTIALS FALSE<br>
                      ANTIALIAS TRUE<br>
                      OFFSET 0 0<br>
                  END<br>
              END<br>
          END<br>
      <br>
      The result is a white image.<br>
      <br>
       <img src="cid:part2.07080306.07040101@gisarts.nl" alt=""><br>
      <br>
      thanks in advance.<br>
      gr Fons<br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <img src="cid:part3.03090403.05070807@gisarts.nl" border="0"></div>
  </body>
</html>