Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
e0a69c4c
Commit
e0a69c4c
authored
Mar 4, 2013
by
Jennifer Hodgdon
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1932354
by Alexander Pyle: Fix up documentation for image_scale()
parent
078f24b0
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7330
Issue #3306390 by poker10, catch, Fabianx, pwolanin, rvtraveller: [D7]...
,
!1564
SA-CORE-2021-001 by larowlan, stephenacrossri, siliconmeadow, mcdruid, xjm,...
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/image.inc
+4
-4
4 additions, 4 deletions
includes/image.inc
with
4 additions
and
4 deletions
includes/image.inc
+
4
−
4
View file @
e0a69c4c
...
...
@@ -233,11 +233,11 @@ function image_dimensions_scale(array &$dimensions, $width = NULL, $height = NUL
* @param $image
* An image object returned by image_load().
* @param $width
* The target width, in pixels.
T
his value is
omitted
then the scaling will
* based only on the height value.
* The target width, in pixels.
If t
his value is
NULL
then the scaling will
*
be
based only on the height value.
* @param $height
* The target height, in pixels.
T
his value is
omitted
then the scaling will
* based only on the width value.
* The target height, in pixels.
If t
his value is
NULL
then the scaling will
*
be
based only on the width value.
* @param $upscale
* Boolean indicating that files smaller than the dimensions will be scaled
* up. This generally results in a low quality image.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment