title: How to write this in Rails 5 code, Lightbox?
body: <p>Been trying to figure this out for two days now and ready to ask.
  Here is the code I'm trying to convert to Rails 5 code:</p>
  
  <pre><code>&lt;img src="/assets/small.jpg" alt="image"&gt;
  &lt;a href="/assets/bigger.jpg" data-lightbox="image1" 
  data-title="Image Caption"&gt;
  </code></pre>
  
  <p>I've tried a bunch of different code, the closest is the following. The lightbox popup part works fine but the first image does not show.</p>
  
  <pre><code> &lt;%= link_to image_tag('gallery-1-small.jpg', alt: 'image'), image_path('gallery-1.jpg'), data: { lightbox: 'image-1', title: 'Image Caption'} %&gt;
  </code></pre>
  
  <p>Any suggestions?</p>