Create a folder in the web root, create a PHP file and add the following code, upload an image into the same directory, give write permissions to Apache or user to folder.
<? exec("convert /path/image.jpg -resize 1150x1150 /path/newimage.jpg") ?>
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count: