The other day i was working on a non Codeigniter site that required some image manipulation… I really wanted to use my library as I know it works, so I set to work to try and change it so that I could use it. Turns out that it was much easier than I had hoped.
1) Remove the “if (!defined(‘BASEPATH’)) exit(‘No direct script access allowed’);” at the top of the script
2) Remove “log_message(‘debug’, “Image Moo Class Initialized”);” in the function Image_moo
Done!
Now you can simply use the image class as normal!