diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 62dbf5d..1840757 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -24,7 +24,7 @@ class GalleriesController < ApplicationController { "image-description" => a.description, "link_to_show" => "/" + I18n.locale.to_s + params[:url] + "/-" + a.id.to_s + "?method=theater", - "thumb-src" => a.file.thumb_fixed_width.url + "thumb-src" => a.file.thumb.url } end { diff --git a/app/uploaders/gallery_uploader.rb b/app/uploaders/gallery_uploader.rb index 150677b..7b48541 100644 --- a/app/uploaders/gallery_uploader.rb +++ b/app/uploaders/gallery_uploader.rb @@ -50,10 +50,6 @@ class GalleryUploader < CarrierWave::Uploader::Base # end version :thumb do - process :resize_to_fill => [200, 200] - end - - version :thumb_fixed_width do process :resize_to_limit => [200, 0] end