Reply to A little bug?

A little bug? new!
by Uli , 17 years, 3 months ago
Hi Colin,

thanxs for your great upload class - very good work.

I am not quite sure - but i think i discovered a little bug...

Check this out - i convert a jpeg into a png with autorenaming - the file is converted but still has the suffix jpg...

include('class.upload.php');

$handle = new upload('default.jpg');

$handle->file_overwrite = false;
$handle->file_auto_rename = true;

$handle->image_convert = 'png';
$handle->image_resize = true;
$handle->image_ratio_no_zoom_in = true;

$handle->image_x = 250;
$handle->image_y = 100;
$handle->image_ratio_crop = true;

$handle->process(dirname(__FILE__).'/test/');

Greetz UliReply

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