Changeset 6913
- Timestamp:
- May 2, 2008, 4:24:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/work/ebihara/prj_renew_OpenPNE_Img/webapp/lib/OpenPNE/Img/Generator.php
r6912 r6913 113 113 } 114 114 115 $h = $s_height; 115 116 if ($o_width < $s_width) { 116 $ o_height= $s_height * $o_width / $s_width;117 } 118 if ($o_height < $ o_height&& $o_height < $s_height) {119 $o_width 117 $h = $s_height * $o_width / $s_width; 118 } 119 if ($o_height < $h && $o_height < $s_height) { 120 $o_width = $s_width * $o_height / $s_height; 120 121 } 121 122
Note: See TracChangeset
for help on using the changeset viewer.