Croping problem - 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: Croping problem (/showthread.php?tid=59542) |
Croping problem - El Forum - 10-18-2013 [eluser]lucky8919[/eluser] Hi there, I'm having a problem when I've to resize and crop an image. For some reason after the cropping process is finish it's leaving a grey space between the image and the space that was cropped. This is my code: Code: $w_orig = $file_data['image_width']; I'm leaving an image so you can see more clearly what my problem is. I hope you can help me. Thanks! Croping problem - El Forum - 10-19-2013 [eluser]lucky8919[/eluser] Please, anyone can help me with this? Croping problem - El Forum - 10-20-2013 [eluser]lucky8919[/eluser] This solve my problem. I hope it can helps. http://kennykee.com/138/codeigniter-resize-and-crop-image-to-fit-container-div-example/ |