fotos - resized

This commit is contained in:
Andreas Stephanides
2013-08-22 17:52:56 +02:00
parent cfcf0be4d5
commit 9ec7bdd6cb
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
<div id="gallery" data-toggle="modal-gallery" data-target="#modal-gallery">
<% @gallery.fotos.each do |f| %>
<a href="<%= f.datei.url%>" title="<%=f.title%>" data-gallery="gallery">
<a href="<%= f.datei.resized.url%>" title="<%=f.title%>" data-gallery="gallery">
<%=image_tag(f.datei.big_thumb.url,{:class=>"img-polaroid"}) %></a>
<% # image_tag(f.datei.url, :data => {:gallery => "gallery"}, :title => "Apple") %>