Using Image_moo with uploadify - 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: Using Image_moo with uploadify (/showthread.php?tid=49560) |
Using Image_moo with uploadify - El Forum - 02-24-2012 [eluser]trinic[/eluser] I have this file(uploadify.php): Code: if (!empty($_FILES)) { I'm wanting to add the bit of image moo code that crop_rotates an image and save it in to a thumbnail. Where would I put the image moo code to do that? I tried to put it at the bottom and caught http errors Using Image_moo with uploadify - El Forum - 02-24-2012 [eluser]trinic[/eluser] This is the function that gets the image in my controller. Code: public function photos_get($id) What i'm trying to do is have a thumbnail image created and have the thumb_ prefix on it so I can just use the same filename, etc, with the prefix to display the thumbnails. Using Image_moo with uploadify - El Forum - 02-27-2012 [eluser]Mat-Moo[/eluser] After you move_uploaded_file - $this->image_moo->load($targetFile)->crop...etc. |