Changeset 10383
- Timestamp:
- Apr 15, 2011, 3:10:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upload.inc.php
r10157 r10383 497 497 if ($ratio_width < $ratio_height) 498 498 { 499 $destination_width = ceil($width / $ratio_height);499 $destination_width = round($width / $ratio_height); 500 500 $destination_height = $max_height; 501 501 } … … 503 503 { 504 504 $destination_width = $max_width; 505 $destination_height = ceil($height / $ratio_width);505 $destination_height = round($height / $ratio_width); 506 506 } 507 507 }
Note: See TracChangeset
for help on using the changeset viewer.