Function resize

See all posts See thread Reply

Re: Function resize new!
by genti, 16 years, 11 months 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
Re: Function resize new!
by colin, 16 years, 11 months ago
Can you provide me with the log from the class, for the two tests you did above, the one that works, and the one that fails?Reply