Welcome Guest, Not a member yet? Register   Sign In
Image Lib not creating Thumbs
#3

[eluser]vitoco[/eluser]
if it doesn't work...maybe you shold use a conditional statement like it says in the manual, to catch the error.

A good practice is use the processing function conditionally, showing an error upon failure, like this:
Code:
if ( ! $this->image_lib->resize())
{
    echo $this->image_lib->display_errors();
}
Note: You can optionally specify the HTML formatting to be applied to the errors, by submitting the opening/closing tags in the function, like this:

Code:
$this->image_lib->display_errors('<p>', '</p>');

Saludos


Messages In This Thread
Image Lib not creating Thumbs - by El Forum - 07-10-2010, 04:53 AM
Image Lib not creating Thumbs - by El Forum - 07-10-2010, 09:09 AM
Image Lib not creating Thumbs - by El Forum - 07-12-2010, 03:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB