Reply to Re: Function resize

Re: Function resize new!
by genti, 16 years, 1 month ago
i've got a problem too

resize works using the default value and some random value.. but not with all.

ex.
original filesize 1229*817
resized to 620*620 -> fail
resized to 120*100-> works

using this code
$new_w=intval($_REQUEST['w']);
$new_h=intval($_REQUEST['h']);
$EB['gnt']= new Upload($_FILES['tuUploadFile']);
if ($EB['gnt']->uploaded) {
  $EB['gnt']->image_resize         = true;
  $EB['gnt']->image_x              = $new_w;
  $EB['gnt']->image_y              = $new_h;
.........

help! :DReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important