title: Lightbox click outside image to close
body: <p>I asked the author this but he said for me to add the contributions I want via Github, and I don't know how to do that as I'm not that knowledgeable with JavaScript. Hope you all can help. :)</p>
  
  <p>Here's the link to the plugin: <a href="http://brutaldesign.github.io/swipebox/" rel="nofollow">http://brutaldesign.github.io/swipebox/</a></p>
  
  <p>Basically, how could I make the lightbox close by clicking anywhere outside the image? Like how most lightboxes function? </p>
  
  <p>This lightbox does it perfectly how I want it: <a href="http://fancyapps.com/fancybox/" rel="nofollow">http://fancyapps.com/fancybox/</a>
  I dont use that lightbox because it doesn't have the swipe functionality that I need. </p>
  
  <p>I do know it has to be something to do with the following function</p>
  
  <pre><code>.click
  </code></pre>
  
  <p>Thanks in advance!</p>