anchor.diff:      <% @variants.each do |v| %>
         images[<%= v.id.to_s %>] = new Array();
         <% v.images.each_with_index do |image, i| %>
  -        images[<%= v.id.to_s %>][<%= i %>] = <%= link_to(image_tag("/tienda#{image.attachment.url(:mini)}"), image.attachment.url(:product)).to_json %>;
  +        images[<%= v.id.to_s %>][<%= i %>] = <%= link_to(image_tag("/tienda#{image.attachment.url(:mini)}"), "/tienda#{image.attachment.url(:product)}").to_json %>;
         <% end %>
       <% end %>
     </script>
  
positive.code:         
          if checked 
            v.images.each do |i| %>  
              <li><%= link_to ( image_tag("/tienda#{i.attachment.url(:mini)}"), i.attachment.url(:product)) %></li>
            <% end %>
          <% end %>
        <% end %>
  
negative.code: <% if product.images.size > 1 %>
    <ul id="product-thumbnails" class="thumbnails">
      <% product.images.each do |i| %>  
        <li><%= link_to(image_tag("/tienda#{i.attachment.url(:mini)}"), "/tienda#{i.attachment.url(:product)}") %></li>
      <% end %>
    </ul>
  <% end %>
  