title: How to set the image size in Vis.js network graph
body: <p>I am building a network graph using vis.js</p>
  
  <p>The problem is, <strong>how do I make all the images the same size</strong>?
  <img src="https://i.stack.imgur.com/2J3sO.png" alt="vis.js network graph">
  (see live example here --> <a href="http://www.techwars.io/fight/wordpress/drupal/#more-comparisons" rel="nofollow noreferrer">comparison of wordpress &amp; drupal</a>)</p>
  
  <p>here's the graph code:</p>
  
  <pre><code>    var nodes = [];
      nodes.push({
          id: 7,
          shape: 'image',
          image: '/static/windows8_icons/PNG/Industry/circuit/circuit-26.png',
          label: 'sharepoint',
          widthMin: 20,
          widthMax: 20
      });
      edges.push({
          from: 1,
          to: 7,
          length: 100
      });
  
      var data = {
          nodes: nodes,
          edges: edges
      };
  
      var options = {
          smoothCurves: false,
          stabilize: false,
          nodes: {
              shape: 'image',
              radius: 24,
              fontSize: 18,
              widthMin: 20,
              widthMax: 20
          },
          edges: {
              width: 2
          }
      };
      network = new vis.Network(container, data, options);
  </code></pre>