Some sweeping syntax changes for consistency:

(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
diff --git a/user_guide/libraries/image_lib.html b/user_guide/libraries/image_lib.html
index f905b88..8fd7513 100644
--- a/user_guide/libraries/image_lib.html
+++ b/user_guide/libraries/image_lib.html
@@ -132,7 +132,7 @@
 

 <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 @@
 $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 @@
 $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>