Skip to content

Commit 396d951

Browse files
authored
chore: fix misleading Imagick error message (#9928)
1 parent b5ed86c commit 396d951

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

system/Language/en/Images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'pngNotSupported' => 'PNG images are not supported.',
2222
'webpNotSupported' => 'WEBP images are not supported.',
2323
'fileNotSupported' => 'The supplied file is not a supported image type.',
24-
'unsupportedImageCreate' => 'Your server does not support the GD function required to process this type of image.',
24+
'unsupportedImageCreate' => 'Your server does not support the required functionality to process this type of image.',
2525
'jpgOrPngRequired' => 'The image resize protocol specified in your preferences only works with JPEG or PNG image types.',
2626
'rotateUnsupported' => 'Image rotation does not appear to be supported by your server.',
2727
'imageProcessFailed' => 'Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.',

user_guide_src/source/changelogs/v4.7.1.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ BREAKING
1818
Message Changes
1919
***************
2020

21+
- Updated ``Images.unsupportedImageCreate``.
22+
2123
*******
2224
Changes
2325
*******

user_guide_src/source/libraries/images.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ The available Handlers are as follows:
3838

3939
.. note:: The ImageMagick handler requires the imagick extension.
4040

41+
.. note::
42+
On Windows, the ImageMagick handler requires **absolute file paths** when
43+
loading images (for example, using ``WRITEPATH`` or ``FCPATH``).
44+
4145
*******************
4246
Processing an Image
4347
*******************

0 commit comments

Comments
 (0)