#28152 closed defect (bug) (invalid)
image_resize_dimensions() function return false;
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
Code I use:
$orig_w = 150; $orig_h = 150; $dest_w = 250; $dest_h = 250; $image_dim = image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h ); var_dump( $image_dim );
Expected to have an array with variables but I get a bool false value in return.
Change History (4)
Note: See
TracTickets for help on using
tickets.
From
image_resize_dimensions()
:Why are you expecting an array?
Related: #19118