Rozdiely pre Metafox/functions.inc.php medzi verziami 1.48 a 1.49
| verzia 1.48, 2006/12/29 20:52:53 |
verzia 1.49, 2007/02/01 12:05:29 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.47 2006-12-29 20:49:17 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.48 2006-12-29 20:52:53 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Riadok 652 function ezin_scale_upload_image($input_ |
|
| Riadok 652 function ezin_scale_upload_image($input_ |
|
| } |
} |
| include_once 'Image/Transform.php'; |
include_once 'Image/Transform.php'; |
| $img = Image_Transform::factory('GD'); |
$img = Image_Transform::factory('GD'); |
| $img->load($uni_prefix.$input_image); |
if (PEAR::isError(@$img->load($uni_prefix.$input_image))) { |
| |
return $input_image; |
| |
} |
| if ($width_pct) { |
if ($width_pct) { |
| $img->scalebyPercentage($width_int); |
$img->scalebyPercentage($width_int); |
| } else { |
} else { |
Platon Group <platon@platon.sk> http://platon.sk/
|
|