Reply to Don't resize when image smaller

Don't resize when image smaller new!
by Erwin, 16 years, 1 month ago
Hi,

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?

ErwinReply

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