title: Visual Studio Images with Ribbons (XML)
body: <p>I'm making Office 2007 addins and I'm trying to use XML instead of the visual designer to customize the ribbon but for some reason I cant get an image to work with it...  What exactly do you have to do‽  I added a resource png called Icon1 and tried this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="Ribbon_Load"&gt;
        &lt;ribbon startFromScratch="false"&gt;
          &lt;tabs&gt;
            &lt;tab id="TabToolss" label="Tools"&gt;
              &lt;group id="MyGroup" label="My Group" visible="true"&gt;
                &lt;button
                  id="Button1"
                  image="WordAddIn1.Properties.Resources.Icon1"
                  onAction="Button1_Click"
                  showImage="true"
                  /&gt;
              &lt;/group&gt;
            &lt;/tab&gt;
          &lt;/tabs&gt;
        &lt;/ribbon&gt;
      &lt;/customUI&gt;
  </code></pre>
  
  <p>No luck...  not sure why.  Even if I put the full file path in there it doesn't work.</p>
  
  <p>I've never gotten it to work once, so maybe I'm just not doing it the way it was made to be done...</p>