title: Change Wordpress default gallery output
body: <p>I am looking to use the <a href="http://codex.wordpress.org/Gallery_Shortcode">Wordpress gallery shortcut</a> but I want to tie the output into the <a href="http://foundation.zurb.com/docs/components/orbit.html">Foundation Orbit plugin</a> (to make a slider). This is the HTML I am looking to output:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="slideshow-wrapper"&gt;
      &lt;div class="preloader"&gt;&lt;/div&gt;
      &lt;ul data-orbit&gt;
          &lt;li&gt;
              &lt;img src="img1.png" alt="bla bla bla" /&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;img src="img2.png" alt="bla bla bla" /&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;img src="img3.png" alt="bla bla bla" /&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;img src="img4.png" alt="bla bla bla" /&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is it possible to put something in <code>functions.php</code> (or similar) to achieve this?</p>