summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/image_lib.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-05 18:39:18 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-05 18:39:18 +0200
commit7327499064ae165468c7440f8571c3e570b58a0b (patch)
tree4f0d0053e7d25f7064c63070edcbc3af114abed9 /user_guide/libraries/image_lib.html
parent7539f67a23c8536f892263d8d7ab9448655d8e22 (diff)
Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper.
Changed ( ! condition) into (! condition) within the code
Diffstat (limited to 'user_guide/libraries/image_lib.html')
-rw-r--r--user_guide/libraries/image_lib.html6
1 files changed, 3 insertions, 3 deletions
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:</p>
<p>A good practice is use the processing function conditionally, showing an error upon failure, like this:</p>
-<code>if ( ! $this->image_lib->resize())<br />
+<code>if (! $this->image_lib->resize())<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo $this->image_lib->display_errors();<br />
}</code>
@@ -370,7 +370,7 @@ $config['y_axis'] = '60';<br />
$this->image_lib->initialize($config);
<br />
<br />
-if ( ! $this->image_lib->crop())<br />
+if (! $this->image_lib->crop())<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo $this->image_lib->display_errors();<br />
}</code>
@@ -407,7 +407,7 @@ $config['rotation_angle'] = 'hor';<br />
$this->image_lib->initialize($config);
<br />
<br />
-if ( ! $this->image_lib->rotate())<br />
+if (! $this->image_lib->rotate())<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo $this->image_lib->display_errors();<br />
}</code>