diff --git a/user_guide/libraries/image_lib.html b/user_guide/libraries/image_lib.html
index 5aeb002..98fcc94 100644
--- a/user_guide/libraries/image_lib.html
+++ b/user_guide/libraries/image_lib.html
@@ -359,7 +359,7 @@
preferences for the X and Y axis (in pixels) specifying where to crop, like this:</p>
<code>$config['x_axis'] = '100';<br />
-$config['x_axis'] = '40';</code>
+$config['y_axis'] = '40';</code>
<p>All preferences listed in the table above are available for this function except these: rotation, width, height, create_thumb, new_image.</p>