﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
11801	Invalid size selection in image editor	mkaganer		"B.H.

I'm using 2.9.1 with arras theme. The problem is that this theme uses very strange ratio for the thumb images - 640x250.

This confuses the image editor which selects a narrow and wide thumbnail for editing, cropping everything from the top and the bottom of each image.

The problem is that image_get_intermediate_size() selects a thumbnail which is bigger by width *or* by height than 400x400, so it selects 640x250.

I've fixed it in my code (see patch). I have no idea if this could impact something else, because i'm not familar with wordpress code.
"	defect (bug)	closed	normal		Media	2.9.1	normal	duplicate	has-patch	
