Is ImageMagick Installed on My Server? Carrie SmahaUpdated on July 7, 2023 1 Minute Read This article answers the important question: Is ImageMagick installed on my server? As of February 25, 2020, the servers for WordPress Hosting customers have the PHP extensions that allows the use of imagick from PHP code. ImageMagick allows you to dynamically create and edit images on the server. It will need to be ran from the command line as none of the API’s are installed. ImageMagick is already available for utilization on the servers. It is located at: /usr/bin/convert /usr/bin/mogrify ImageMagick homepage –https://www.imagemagick.com/ Example:The following are examples to demonstrate that ImageMagick is installed and functioning. If you have a file named image.jpg in your public_html, the following command ran from the command line will resize the image and name the new image to resize_image.jpg: Servers with SSH access: convert image.jpg -resize 64x64 resize_image.jpg Using ImageMagick without SSH access: You can setup a cron job with the following command: /usr/bin/convert public_html/image.jpg -resize 64x64 public_html/resize_image.jpg Using ImageMagick without SSH accesss: You can run the following command from a php script: exec('/usr/bin/convert /home/USERNAME/public_html/image.jpg -resize 64x64 /home/USERNAME/public_html/resize_image.jpg'); Please note that in this example you will need to replace USERNAME with your actual username.You will also need to make sure that the folder you are writing resize_image.jpg to has write permissions. Share this Article Carrie Smaha Senior Manager Marketing Operations Carrie Smaha is a digital strategy, web development, and SEO leader with 20 years of experience. She built her foundation in fast-paced agency environments before moving in-house to InMotion Hosting, where she leads go-to-market programs, agency initiatives, and technical product marketing that connects product capability to real customer decisions. More Articles by Carrie Related Articles How to Keep Regular Backups for Reseller Accounts How to Cancel Your Backup Manager Subscription How to Set Up Cloudflare with InMotion Hosting Intro to Migrating your WordPress Site Data Migrating your WordPress Database Migrating WordPress Files Configuring WordPress After a Migration Testing your WordPress website after Migration How to Move WordPress from a Subfolder to the Root Directory What to expect during a mass server migration