error in uploading more than 1 images in loop - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: error in uploading more than 1 images in loop (/showthread.php?tid=38651) |
error in uploading more than 1 images in loop - El Forum - 02-15-2011 [eluser]dsi[/eluser] hi everyone, I was trying to upload and resize more than 1 images in a loop but codeigniter says " Quote:Your server does not support the GD function required to process this type of image." after uploading the 1st image. I have used " Code: $this->image_lib->clear(); 1st image is uploaded successfully and resized too, 2nd image is also uploaded but during resizing, it causes that error. can anyone please provide a working sample of code for resizing images in a loop. It would be greatly helpful. thank you |