title: Openlayers vector layer external graphic of unknown width
body: <p>I have an OpenLayers vector layer and for the points in that layer I'm using an external graphic which is the name of the place. Each place has a different name and therefore a different image width. Rather than having the name centered over the point I want it to the side pointing at the spot (the graphic is shaped a bit like a road sign I guess). I can move the image to the side easily enough by setting the graphicXOffset to 0 but I can't set the graphicWidth because I don't know how wide the image will be.</p>
  
  <p>If I setting it to the wrong value, the image gets squashed. 
  If I don't set the graphicHeight and graphicWidth the image doesn't appear.</p>
  
  <p>The only idea I have at the moment is to make the images a fixed width with the extra space being transparent, but that area would still be clickable which would be very strange to the user.</p>