[ci skip] Fix #3515
diff --git a/user_guide_src/source/libraries/image_lib.rst b/user_guide_src/source/libraries/image_lib.rst
index a52cf3e..ae2c847 100644
--- a/user_guide_src/source/libraries/image_lib.rst
+++ b/user_guide_src/source/libraries/image_lib.rst
@@ -316,9 +316,9 @@
Class Reference
***************
-.. class:: CI_Image_lib
+.. php:class:: CI_Image_lib
- .. method:: initialize([$props = array()])
+ .. php:method:: initialize([$props = array()])
:param array $props: Image processing preferences
:returns: TRUE on success, FALSE in case of invalid settings
@@ -326,7 +326,7 @@
Initializes the class for processing an image.
- .. method:: resize()
+ .. php:method:: resize()
:returns: TRUE on success, FALSE on failure
:rtype: bool
@@ -373,7 +373,7 @@
new_image) are used, the resizing method will instead target the
original image for processing.
- .. method:: crop()
+ .. php:method:: crop()
:returns: TRUE on success, FALSE on failure
:rtype: bool
@@ -409,7 +409,7 @@
in ExpressionEngine, the CMS we develop. We added a JavaScript UI that
lets the cropping area be selected.
- .. method:: rotate()
+ .. php:method:: rotate()
:returns: TRUE on success, FALSE on failure
:rtype: bool
@@ -441,7 +441,7 @@
echo $this->image_lib->display_errors();
}
- .. method:: watermark()
+ .. php:method:: watermark()
:returns: TRUE on success, FALSE on failure
:rtype: bool
@@ -449,7 +449,7 @@
Creates a watermark over an image, please refer to the :ref:`watermarking`
section for more info.
- .. method:: clear()
+ .. php:method:: clear()
:rtype: void
@@ -461,7 +461,7 @@
$this->image_lib->clear();
- .. method:: display_errors([$open = '<p>[, $close = '</p>']])
+ .. php:method:: display_errors([$open = '<p>[, $close = '</p>']])
:param string $open: Error message opening tag
:param string $close: Error message closing tag