Upload... - 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: Upload... (/showthread.php?tid=22283) |
Upload... - El Forum - 09-03-2009 [eluser]danielbertini[/eluser] Hello all. I have the function upload: Code: function upload(){ Function upload work but dont resize or crop just only upload... Using Leopard + Mamp + http://valums.com/ajax-upload/ In phpinfo GD library is active, and i use captcha without problems... Any help? thanks! Upload... - El Forum - 09-03-2009 [eluser]pistolPete[/eluser] Do you get any error messages? Enable logging. You should also call Code: $this->image_lib->clear(); User guide: Quote:The clear function resets all of the values used when processing an image. You will want to call this if you are processing images in a loop. Upload... - El Forum - 09-03-2009 [eluser]BrianDHall[/eluser] You might also try this out on a regular image you upload with hard-coded address, and maybe you can whittle-down where the problem is a bit better. From the manual it recommends: Code: if ( ! $this->image_lib->resize()) ...to display errors. |