can anyone successfully crop image with image lib ? |
[eluser]runrun[/eluser]
I try many way and i still can't get it right. If you've done it before, maybe you can share some experience ? I got the image uploaded. I got the image resized. The crop is the problem here. Code: <?php
[eluser]xarazar[/eluser]
It's probably too late and you already know the answer, but just in case: When you use ImageMagick you must specify $config['library_path']. Good luck!
[eluser]eoinmcg[/eluser]
Here's some code from my gallery app, QuickSnaps, that handles cropping: Code: function _crop_image($p, $x_off, $y_off)
[eluser]stommert[/eluser]
you have to clear your image lib. stated in the last example $this->image_lib->clear(); |
Welcome Guest, Not a member yet? Register Sign In |