
January 5th, 2013, 06:57 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Location: Germany
Posts: 1
Time spent in forums: 27 m 25 sec
Reputation Power: 0
|
|
Hello,
you must change the path in the listing : /usr/bin/
(ask hoster)
Code:
<?php $width = 800; $height = 600; $img = "test.jpg"; $convert = '/usr/bin/convert -size '.$width.'x'.$height.' xc:"#3C8229FF" '.$img; exec($convert); echo '<img src="'.$img.'">'; ?>
have a nice day, Olaf
|