How to re-size image when uploading to my website? - 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: How to re-size image when uploading to my website? (/showthread.php?tid=59492) |
How to re-size image when uploading to my website? - El Forum - 10-11-2013 [eluser]scm22ri[/eluser] Hi Everyone, I'm attempting to re-size an image during the upload to my website. I'm having a difficult time doing this. I believe my problem is the path. I believe I have to get the image path for this to work (please tell me other wise if I'm incorrect). Below is my syntax. When I attempt to upload an image, that's working fine but it's the re-sizing that's being me a problem. What am I doing wrong? Any help would be appreciated. Thanks. Code: function image_resize(){ |