Commit a6cae227

mo k <mo@mokhan.ca>
2012-07-29 04:03:47
set the thumbnail size to the current size in prod.
1 parent 2e7f712
Changed files (3)
app/assets/javascripts/creations.js
@@ -29,6 +29,6 @@ Creations.Crop = {
 };
 Creations.Show = {
   initialize: function(){
-    $('.gallery').colorbox({rel:'gallery'});
+    $('.gallery').colorbox({rel:'gallery', width: "960px"});
   }
 };
app/uploaders/image_uploader.rb
@@ -29,7 +29,7 @@ class ImageUploader < CarrierWave::Uploader::Base
 
   version :thumb do
     process :manualcrop
-    process :resize_to_fill => [360, 268]
+    process :resize_to_fit => [260, 180]
   end
 
   def manualcrop
app/uploaders/photo_uploader.rb
@@ -24,7 +24,7 @@ class PhotoUploader < CarrierWave::Uploader::Base
 
   # Create different versions of your uploaded files:
   version :thumb do
-    process :resize_to_fill => [360, 268]
+    process :resize_to_fill => [260, 180]
   end
 
   # Add a white list of extensions which are allowed to be uploaded.