Quote:
Originally Posted by JMF
Hi! I'm running a script on my site that grabs a picture and shrinks it to a certain size like this:
PHP Code:
exec("/usr/bin/convert -resize 186x picotd.jpg picotdsm.jpg");
It hasn't been working lately, triggering an "exec() has been disabled" error.
I can find my way around PHP, but am kind of new to it -- is there another way I can resize the images without using exec()?
Thanks!
Jeff.
|
Hello,
I just came across your post, sorry if the reply is too late. In case you haven't found a solution or someone else stumbles onto this thread with a similar question, you might want to look at using the (PHP) GD image library. There is a tutorial here that looks like it could be useful for someone with PHP knowledge:
http://www.phpit.net/article/image-m...-php-gd-part2/
Regards
Jonathan