Welcome Guest, Not a member yet? Register   Sign In
image resize problem
#2

[eluser]John_Betong[/eluser]
[quote author="hamzakhan" date="1259765298"]myconfig file contain this code

Code:
$config['image_library'] = 'gd2';
$config['source_image'] = 'http://localhost/server/sscart/assets/images/catagory/mypic.jpg';
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
$config['width'] = 150;
$config['height'] = 150;


and i am calling the function to resize the image
$this->image_lib->resize();

loaded the library of image_lib
$autoload['libraries'] = array('image_lib');

but nothing happening.[/quote]
 
$config['source_image'] requires a path and not a URL
 
 
 


Messages In This Thread
image resize problem - by El Forum - 12-02-2009, 02:48 AM
image resize problem - by El Forum - 12-02-2009, 04:04 AM
image resize problem - by El Forum - 12-02-2009, 05:01 AM
image resize problem - by El Forum - 12-02-2009, 06:02 AM
image resize problem - by El Forum - 12-02-2009, 06:19 AM
image resize problem - by El Forum - 12-02-2009, 06:24 AM
image resize problem - by El Forum - 12-02-2009, 06:28 AM
image resize problem - by El Forum - 12-02-2009, 06:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB