diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb index 31fb5e5a2..5009aa9d2 100644 --- a/app/uploaders/image_uploader.rb +++ b/app/uploaders/image_uploader.rb @@ -22,4 +22,8 @@ class ImageUploader < CarrierWave::Uploader::Base version :thumb_large do process :resize_to_fill => [300,200] end + + version :scaled_full do + process :resize_to_limit => [700,700] + end end diff --git a/app/views/photos/show.html.haml b/app/views/photos/show.html.haml index b81d0b93c..252ac23d0 100644 --- a/app/views/photos/show.html.haml +++ b/app/views/photos/show.html.haml @@ -9,7 +9,7 @@ %br #show_photo - = link_to (image_tag @photo.image.url), photo_path(@album.next_photo(@photo)) + = link_to (image_tag @photo.image.url(:scaled_full)), photo_path(@album.next_photo(@photo)) #photo_pagination = link_to "<< previous", photo_path(@album.prev_photo(@photo))