When ratio is 1,6666667 imagefield_crop_widget.inc generate JS object as 'ratio' => (string)$ratio,
then the result is
..., "ratio" => 1,666667, ....
So this generate error in javascript engine, when you chane line 193 to 'ratio' => (string)$ratio,
the result in javascript is "ratio" => "1,66666667"

Comments

yhager’s picture

Status: Active » Needs work

Good catch. Can you send the fix as a patch?

stano.lacko’s picture

Status: Needs work » Closed (won't fix)

Hope, fixed in following versions.