Welcome Guest, Not a member yet? Register   Sign In
Image Library Resize problem
#2

[eluser]bapobap[/eluser]
Sorry please ignore, seems to be working again using this code that I borrowed from another app I'd made:

Code:
$config['image_library'] = 'GD2';
        $config['maintain_ratio'] = TRUE;
        $config['source_image']    = $new_file_name_orig;
        $config['new_image']    = $new_file_name_thmb;
        $config['quality'] = 100;
        $config['width'] = 120;
        $config['height'] = 120;
        $config['create_thumb'] = FALSE;
        $config['master_dim']   = 'auto';
        $config['dynamic_output'] = FALSE;
        
        $this->image_lib->initialize($config);
        echo $this->image_lib->resize();

I can't tell what the difference is exactly but at least it works!


Messages In This Thread
Image Library Resize problem - by El Forum - 11-10-2008, 01:45 PM
Image Library Resize problem - by El Forum - 11-10-2008, 01:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB