Commit aa4a5146 authored by jlaval's avatar jlaval

Test nouvel commande trop délire

parent 46173b85
......@@ -130,7 +130,7 @@ else if ( isset($_REQUEST["id_asso"]) )
$dest_full = "/var/www/ae/www/ae2/var/img/logos/".$asso->nom_unix.".jpg";
exec(escapeshellcmd("/usr/share/php5/exec/convert $src -thumbnail 80x80 $dest_small"));
exec(escapeshellcmd("/usr/share/php5/exec/convert $src -thumbnail 48x48 -bordercolor white -border 24 -background white -gravity center -crop 48x48+0+0 +repage $dest_icon"));
exec(escapeshellcmd("/usr/share/php5/exec/convert $src -resize 48x48 -size 48x48 xc:transparent +swap -gravity center -composite $dest_icon"));
exec(escapeshellcmd("/usr/share/php5/exec/convert $src -background white $dest_full"));
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment