diff --git a/app/models/photo.rb b/app/models/photo.rb index 02406d0..c835881 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -8,7 +8,13 @@ class Photo < ActiveRecord::Base :size8 => "224x224#", :size5 => "140x140#", :size3 => "84x84#", - :size2 => "56x56#" }, + :size2 => "56x56#", + :size17x2 => "952x952#", + :size11x2 => "616x616#", + :size8x2 => "448x448#", + :size5x2 => "280x280#", + :size3x2 => "168x168#", + :size2x2 => "112x112#" }, :storage => :s3, :s3_credentials => "#{Rails.root}/config/s3.yml", :s3_protocol => "https", diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index eb9d35b..a2b92d6 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -1,3 +1,5 @@ +<%= render 'shared/photo_styles', photos: @photos, size: 11 %> + <% content_for :navigation do %>