title: Adding elements in Magnific Popup
body: <p>I've added Magnific Popup gem in my Rails web app, and have initialized it simply with</p>
  
  <pre><code>$('.box p a').magnificPopup({
      type:'image'
  });
  </code></pre>
  
  <p>in my application.js.</p>
  
  <p>How do I go about modifying content of the popup window? I would like to add some hover effects on left and right side of the image displayed in popup, in such way that if I, for example, hover on the right side of the image - div container with certain image info slides in.</p>
  
  <p>Thank you for any information!</p>