[eluser]JoostV[/eluser]
Hi Glynn,
Tested the code locally and it worked fine for me. This is the code I used in my controller:
Code:
public function square(){
$this->gallery_path = realpath(APPPATH . '../public_html/files/gfx/articles');
$originalPath = $this->gallery_path . '/rooney.jpg';
$newPath = $this->gallery_path . '/thumbs/rooney.jpg';
$this->load->library('images');
$this->images->squareThumb($originalPath, $newPath, 85);
}