[eluser]GlynnPhillips[/eluser]
Hi this seems to do exactly what I want, the only problem is its not resizing the square thumbnails for me.
It is just setting the height and width to whatever the shortest dimension is, so these are the results i get with uploads.
1000 width by 500 height = 500px by 500px
600width by 2000 height = 600px by 600px
I tried changing the size in both the function and within the images lib.
Here is my function code
Code:
$this->gallery_path = realpath(APPPATH . '../../plot_images');
$this->gallery_path_url = base_url().'plot_images/';
$originalPath = $image_data['full_path'];
$newPath = $this->gallery_path . '/thumbs';
$this->load->library('images');
$this->images->squareThumb($originalPath, $newPath, 85);
Thanks
Glynn