Commit a6cae227
Changed files (3)
app
assets
javascripts
uploaders
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.