I suppose this is due to the fact that the app only wanted to store
200px images, but it should also be possible for the user to crop the
images before they are resized to the end size so we will not always be
smaller than 200px.
So we have to consider if we want to double the value at the other
places, too, or do not resize at all since we cannot know how small the
part is the the user want to crop/cut out.

Am 03.09.2013 08:24, schrieb Bart Visscher:
>
> In ajax/savecrop.php:
>
> > @@ -76,8 +77,8 @@
> >  			'savecrop.php, x: '.$x1.' y: '.$y1.' w: '.$w.' h: '.$h,
> >  			\OCP\Util::DEBUG);
> >  		if($image->crop($x1, $y1, $w, $h)) {
> > -			if(($image->width() <= 200 && $image->height() <= 200)
> > -				|| $image->resize(200)) {
> > +			if(($image->width() <= $max_size && $image->height() <= $max_size)
>
> @tanghus <https://github.com/tanghus> in other places the max_size was
> 400, is that important here?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/owncloud/contacts/pull/185/files#r6118159>.
>