From 7327499064ae165468c7440f8571c3e570b58a0b Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 5 May 2008 16:39:18 +0000 Subject: Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper. Changed ( ! condition) into (! condition) within the code --- user_guide/libraries/image_lib.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/libraries/image_lib.html') diff --git a/user_guide/libraries/image_lib.html b/user_guide/libraries/image_lib.html index 1c7380429..028414bdb 100644 --- a/user_guide/libraries/image_lib.html +++ b/user_guide/libraries/image_lib.html @@ -132,7 +132,7 @@ error message using this function:

A good practice is use the processing function conditionally, showing an error upon failure, like this:

-if ( ! $this->image_lib->resize())
+if (! $this->image_lib->resize())
{
    echo $this->image_lib->display_errors();
}
@@ -370,7 +370,7 @@ $config['y_axis'] = '60';
$this->image_lib->initialize($config);

-if ( ! $this->image_lib->crop())
+if (! $this->image_lib->crop())
{
    echo $this->image_lib->display_errors();
}
@@ -407,7 +407,7 @@ $config['rotation_angle'] = 'hor';
$this->image_lib->initialize($config);

-if ( ! $this->image_lib->rotate())
+if (! $this->image_lib->rotate())
{
    echo $this->image_lib->display_errors();
} -- cgit v1.2.3-24-g4f1b