title: Magnific popup "The image could not be loaded"
body: <p>I want to make what does when you click on a link, showing a modal window with the generated link to the google maps.
  There is my .html</p>
  
  <pre><code> &lt;div class="map-google-link"&gt;
        &lt;%= link_to "show map", (event.google_map_url) %&gt;
       &lt;/div&gt;
  </code></pre>
  
  <p>There is my .js</p>
  
  <pre><code>$(document).ready(function() {
  $('.map-google-link').magnificPopup({
    type:'image',
    midClick: true 
  });
  });
  </code></pre>
  
  <p>how fix?</p>