Welcome Guest, Not a member yet? Register   Sign In
Can't process more than one image.
#7

[eluser]munkeh[/eluser]
Wow.

Five minutes later I have the following few lines of code and, more importantly, a working function. Thanks!
Code:
$this->load->library('image_moo');

$this->image_moo->load($upload_data['full_path']);

if (($upload_data['image_width'] > 1280) || ($upload_data['image_height'] > 1024)) {
    $this->image_moo->resize(1280,1024)->save($upload_data['full_path'], $overwrite=TRUE);
}
$this->image_moo->resize(300,200)->save_pa($prepend="", $append="_thumb");

if($this->image_moo->errors) print $this->image_moo->display_errors();

I'm still interested in finding out why the built in library wasn't working so if anyone has any ideas please let me know!

Thanks again.


Messages In This Thread
Can't process more than one image. - by El Forum - 05-23-2010, 01:58 PM
Can't process more than one image. - by El Forum - 05-23-2010, 03:31 PM
Can't process more than one image. - by El Forum - 05-24-2010, 05:37 AM
Can't process more than one image. - by El Forum - 05-24-2010, 09:56 AM
Can't process more than one image. - by El Forum - 12-09-2010, 04:00 PM
Can't process more than one image. - by El Forum - 12-09-2010, 04:32 PM
Can't process more than one image. - by El Forum - 12-09-2010, 05:11 PM
Can't process more than one image. - by El Forum - 12-09-2010, 07:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB