From 28ef42826d3cec224a8efd08fe1f3ab5db4e992c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 12 May 2016 17:42:39 +0200 Subject: [PATCH] Changed max. image size of original image. --- app/assets/javascripts/app/controllers/_profile/avatar.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_profile/avatar.coffee b/app/assets/javascripts/app/controllers/_profile/avatar.coffee index 56dff90dc..7abaec4ed 100644 --- a/app/assets/javascripts/app/controllers/_profile/avatar.coffee +++ b/app/assets/javascripts/app/controllers/_profile/avatar.coffee @@ -182,7 +182,7 @@ class ImageCropper extends App.ControllerModal @image.attr src: dataUrl # resize if to big - App.ImageService.resize(@imageSource, 800, 'auto', 2, 'image/jpeg', 0.9, show) + App.ImageService.resize(@imageSource, 600, 'auto', 2, 'image/jpeg', 0.9, show) orientateImage: (e) => image = e.currentTarget