Welcome Guest, Not a member yet? Register   Sign In
Image Library new_image problem
#1

[eluser]shiggins[/eluser]
Not sure what I'm doing wrong here or if there is a bug in this library. The situation here is that a copy of the original image is not being placed in the new_image folder. According to the guide 'If only the path is specified, the new image will be placed in the destination with the same name as the original.'...nice...if it works

Quote: $config['source_image'] = '/resources/images/listings/vendor_39/joe_c_landscape2_600.jpg';
$config['new_image'] = '/resources/images/listings/vendor_39/main';
$config['width'] = 75;
$config['height'] = 50;
$this->load->library('image_lib', $config);
if ( ! $this->image_lib->resize())
{
echo $this->image_lib->display_errors();
}

Please note that the library has been called and the image_library is GD2 etc. There are no errors.

I really hope someone can help me here....I've been on this for hours. Thanks




Theme © iAndrew 2016 - Forum software by © MyBB