Skip to content
Snippets Groups Projects
Commit dcff9b78 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #1932354 by Alexander Pyle: Fix up documentation for image_scale()

parent 4f010f5b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -233,11 +233,11 @@ function image_dimensions_scale(array &$dimensions, $width = NULL, $height = NUL ...@@ -233,11 +233,11 @@ function image_dimensions_scale(array &$dimensions, $width = NULL, $height = NUL
* @param $image * @param $image
* An image object returned by image_load(). * An image object returned by image_load().
* @param $width * @param $width
* The target width, in pixels. This value is omitted then the scaling will * The target width, in pixels. If this value is NULL then the scaling will
* based only on the height value. * be based only on the height value.
* @param $height * @param $height
* The target height, in pixels. This value is omitted then the scaling will * The target height, in pixels. If this value is NULL then the scaling will
* based only on the width value. * be based only on the width value.
* @param $upscale * @param $upscale
* Boolean indicating that files smaller than the dimensions will be scaled * Boolean indicating that files smaller than the dimensions will be scaled
* up. This generally results in a low quality image. * up. This generally results in a low quality image.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment