Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | documentation-for-image_scale-1932354-2.patch | 989 bytes | toastieAlex |
Comments
Comment #1
toastieAlex CreditAttribution: toastieAlex commentedNeed to use the documentation from
image_dimensions_scale()
to address this issue. I'll have a patch in an hour.Comment #2
toastieAlex CreditAttribution: toastieAlex commentedWill also need backporting to 7.x.
Comment #3
jhodgdonThanks! 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).
Comment #4
jhodgdonCommitted to 7.x and 8.x -- thanks again!