Image Multi-Thumb - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Image Multi-Thumb (/showthread.php?tid=3657) |
Image Multi-Thumb - El Forum - 10-15-2007 [eluser]MMCCQQ[/eluser] hi! i got a question. how can i upload a Image , to get Resize to 640x400 , a Thumb 125x125 AND Thumb 25x25??? how??? Image Multi-Thumb - El Forum - 10-15-2007 [eluser]Eric Cope[/eluser] do you need more than provided here in the user guide? Image Multi-Thumb - El Forum - 10-15-2007 [eluser]Rick Jolly[/eluser] Maybe this code example will help. It's important to use "$this->image_lib->clear();" to reset the image library before a new image is created. Code: $upload_data = $this->upload->data(); Image Multi-Thumb - El Forum - 10-16-2007 [eluser]MMCCQQ[/eluser] Thank!!! Bros Image Multi-Thumb - El Forum - 10-17-2007 [eluser]MMCCQQ[/eluser] what is $some_new_image_path? Image Multi-Thumb - El Forum - 10-17-2007 [eluser]Rick Jolly[/eluser] [quote author="MMCCQQ" date="1192693965"]what is $some_new_image_path?[/quote] The file path of your new image. Maybe this is more clear: Code: //$config['new_image'] = $some_new_image_path . '_large' . $extension; |