anchor.diff:  <script type="text/javascript">
   $(document).ready(function() {
  +  
  +  $('.galler-image').each(
  +    function(){
  +        var src = $(this).attr('src');
  +        this.src = src.slice(0,-1);
  +  });
   
     $("#gallery").justifiedGallery({
           'usedSuffix': 'lt240',
  
positive.code:             return item.el.attr('title');
            }
          },
          delegate: 'a', 
          type: 'image',
          gallery: {
            enabled:true
  
negative.code:         }
      });
    });
  
  });
  </script>
  <pre> Related: <%= link_to "Map view", map_path, :class => "btn btn-custom"%></pre> 
  
  <div class="container fluid"> 
      
      <h1> Photography </h1>
      <p>I do photography as a hobby and put some of the popular ones here. </p>
      <p>I shoot with Canon EOS Rebel T3, EF-S 18-55mm, EF-S 55-250mm.</p>
  