Configure image processing on PHP

 

If you are using the PHP server model you need to follow the next steps for the image functions to work (thumbnails, crop, sharpen, etc):

 

  1. Download and install the GD image library.

  2. Edit the php.ini file to enable the GD library.
    Note:
    to locate the php.ini file, use the same method as explained for the file upload configuration.

  3. Download and install the ImageMagick library. Follow the instructions in the downloaded package.

  4. After installing ImageMagick you must grant the user as which the web server runs the right to execute the program (ImageMagick comes as a standalone program). The way this is done depends on the operating system existing on the server.

  5. To grant execution rights on a Microsoft Windows operating system follow the instructions:

  6. On Mac OS and *NIX you do not need to take any extra steps in order to use ImageMagick.

  7. The last step is to allow read and write access rights on the folder where the images and files will be stored. If you have already configured file uploading, you do not need to take any further action. Else, follow the instructions here to grant access rights on the upload folder.