class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I have build in the class to resize a images. But nog i have some images that don't have to be resized when they are smaller. What class variabel do i have to add to it the? I now have the following:
I have build in the class to resize a images. But nog i have some images that don't have to be resized when they are smaller. What class variabel do i have to add to it the? I now have the following:
$foo->allowed = array('image/*'); $foo->file_new_name_body = $fotoid.'groot'; $foo->image_resize = true; $foo->image_convert = jpg; $foo->image_x = 800; $foo->image_ratio_y = true; $foo->Process('/home/site/website.nl/public_html/map/');So what do i need to add to make sure that smaller images won't be resized to the image_x of 800?
Erwin