Welcome Guest, Not a member yet? Register   Sign In
Image library: resizing two or more images
#3

[eluser]nkm82[/eluser]
Also you should unset the first config array after the first resize (or name each one diferently).

Code:
$config['master_dim']     = 'width';
$config['thumb_marker']   = IMAGE_LARGE;

$this->load->library('image_lib', $config);
$this->image_lib->resize();
unset($config);

OR

Code:
$large_config = array();
$large_config['key'] = 'value';
// (...)
$this->load->library('image_lib', $large_config);

// (...)

$small_config = array();
$small_config['key'] = 'value';
// (...)
$this->load->library('image_lib', $small_config);


Messages In This Thread
Image library: resizing two or more images - by El Forum - 11-27-2009, 10:14 PM
Image library: resizing two or more images - by El Forum - 11-28-2009, 11:34 AM
Image library: resizing two or more images - by El Forum - 11-28-2009, 01:00 PM
Image library: resizing two or more images - by El Forum - 11-28-2009, 02:42 PM
Image library: resizing two or more images - by El Forum - 11-28-2009, 02:55 PM
Image library: resizing two or more images - by El Forum - 11-28-2009, 03:01 PM
Image library: resizing two or more images - by El Forum - 11-28-2009, 03:35 PM
Image library: resizing two or more images - by El Forum - 04-09-2010, 09:44 AM
Image library: resizing two or more images - by El Forum - 04-09-2010, 09:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB