From 14ba89158b605162bfe729d191483f4cdf445da0 Mon Sep 17 00:00:00 2001 From: Matheus Agio Nerone <man13@inf.ufpr.br> Date: Wed, 23 Sep 2015 11:37:23 -0300 Subject: [PATCH] change image size Signed-off-by: Matheus Agio Nerone <man13@inf.ufpr.br> --- app/models/carousel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/carousel.rb b/app/models/carousel.rb index 65218d53..e8a81d99 100644 --- a/app/models/carousel.rb +++ b/app/models/carousel.rb @@ -1,6 +1,6 @@ class Carousel < ActiveRecord::Base has_attached_file :image, styles: { - larger: "400x500>", + larger: "600x600>", thumbnail: "100x100>" }, default_url: "/images/:style/missing.png" validates_attachment_content_type :image, content_type: /\Aimage\/.*\Z/ -- GitLab