Not completely work!

See all posts Reply

Not completely work! new!
by Kuddusi DEMİR, 15 years, 4 months ago
$handle->mime_check = true;
$handle->allowed = array('image/*');
$handle->forbidden = array('application/*');
$handle->file_max_size = '102400';
$upload->image_resize = true;
$upload->image_x = 124;
$upload->image_ratio_y = true;
$handle->image_convert = 'jpg';
$upload->process('upload');
if ($upload->processed) {...

Resizing, but not restrict out of image files, and not rename, and not converting to the jpg.
Can anyone tell me why?Reply
Re: Not completely work! new!
by colin, 15 years, 4 months ago
You are using $handle and $upload at the same time!

Besides, if something doesn't work, output the log of the class, and you will be able to see exactly what the class does...Reply