![]() |
Help with thumbnail generation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: Help with thumbnail generation (/thread-2070.html) |
Help with thumbnail generation - El Forum - 07-14-2007 [eluser]brigham[/eluser] I can't seem to get the image_lib library to generate a thumbnail. The following code generates an error message: Code: function test() Quote:A PHP Error was encounteredWhat am I doing wrong? I've tried specifying 'dest_image' and 'new_image' in the config file, but the same error appears. Thanks, Brigham Help with thumbnail generation - El Forum - 01-08-2013 [eluser]pushpa[/eluser] <?php include('Image.php'); $image = new Image(); $image->load('pic1.jpg'); $image->resize(250,400); $image->save('pic2.jpg'); ?> http://wintekweb.blogspot.com/2012/11/resizing-images-with-php.html |