Upload image --> resize and create thumb |
[eluser]Samuel Martins[/eluser]
Fixed ![]() Code: $this->make_thumb($tempimage, $path); Code: $this->make_thumb($tempimage); and change the function, removing.. Code: $config['new_image'] = $path; and adding this.. Code: $configthumb['create_thumb'] = TRUE; So, this is the final function: Code: public function make_thumb($tempimage) I think in that way. I only have to resize the image one time, and make a thumbnail's image. I just read the Image Manipulation Class to understand the method |
Messages In This Thread |
Upload image --> resize and create thumb - by El Forum - 09-20-2008, 09:32 AM
Upload image --> resize and create thumb - by El Forum - 09-20-2008, 10:08 AM
Upload image --> resize and create thumb - by El Forum - 09-20-2008, 02:03 PM
Upload image --> resize and create thumb - by El Forum - 09-20-2008, 05:11 PM
Upload image --> resize and create thumb - by El Forum - 09-21-2008, 12:31 AM
Upload image --> resize and create thumb - by El Forum - 09-21-2008, 05:36 AM
Upload image --> resize and create thumb - by El Forum - 09-21-2008, 05:41 AM
Upload image --> resize and create thumb - by El Forum - 09-21-2008, 08:53 AM
Upload image --> resize and create thumb - by El Forum - 04-25-2010, 08:35 PM
Upload image --> resize and create thumb - by El Forum - 01-02-2011, 06:31 PM
Upload image --> resize and create thumb - by El Forum - 01-02-2011, 06:58 PM
|