title: Launch fancyBox from button click
body: <p>Im stuck with a little problem with fancyBox v2.</p>
  
  <p>I want to launch fancyBox on button click. Once clicked, it will load all the images from the list (from the src attribute of the ).</p>
  
  <p>I have created this jsfiddle to show what I am trying to do: <a href="http://jsfiddle.net/fPFZg/" rel="noreferrer">http://jsfiddle.net/fPFZg/</a></p>
  
  <pre><code>jQuery(document).ready(function($) {
      $('button').on('click', function() {
          $.fancybox(); 
      });
  });
  </code></pre>
  
  <p>Can anybody see how this would be possible?</p>