[wp-trac] [WordPress Trac] #28152: image_resize_dimensions() function return false;

WordPress Trac noreply at wordpress.org
Tue May 6 17:56:00 UTC 2014


#28152: image_resize_dimensions() function return false;
--------------------------+-----------------------------
 Reporter:  alexvorn2     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28152>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list