View Single Post
Old September 5th, 2007, 4:06 PM   #2 (permalink)
jdcopelin
Surpass Fan
Comfy Contributor
 
jdcopelin's Avatar
 
Joined in Feb 2004
Lives in Norfolk, England
Hosted on Pass32
155 posts
Gave thanks: 17
Thanked 18 times
Quote:
Originally Posted by JMF View Post
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
__________________
Server: Pass32 and dedicated server
jdcopelin is offline   Reply With Quote