Looks like the documentation for the image_scale function is missing the word "be" in the explination of both the $width and $height paramaters.

http://api.drupal.org/api/drupal/core%21includes%21image.inc/function/im...

the scaling will based only should be the scaling will be based only

Files: 
CommentFileSizeAuthor
#2 documentation-for-image_scale-1932354-2.patch989 bytestoastieAlex
PASSED: [[SimpleTest]]: [MySQL] 52,210 pass(es).
[ View ]

Comments

Assigned:Unassigned» toastieAlex

Need to use the documentation from image_dimensions_scale() to address this issue. I'll have a patch in an hour.

Status:Active» Needs review
StatusFileSize
new989 bytes
PASSED: [[SimpleTest]]: [MySQL] 52,210 pass(es).
[ View ]

Will also need backporting to 7.x.

Assigned:toastieAlex» jhodgdon
Status:Needs review» Reviewed & tested by the community

Thanks! I'll get this committed shortly (quite likely the same patch will apply to 7.x as well; if not we'll need to make another one).

Assigned:jhodgdon» Unassigned
Status:Reviewed & tested by the community» Fixed

Committed to 7.x and 8.x -- thanks again!

Automatically closed -- issue fixed for 2 weeks with no activity.