Objet : [Spip] redimensionner les logos automatiquement

Bonjour,

Chez moi la fonction "d'écranbureau.com" fonctionne bien :
Il y a 2 | après LOGO_RUBRIQUE ou LOGO_ARTICLE
Exemple ci-après

<?
$logorub="IMG/[(#LOGO_RUBRIQUE||fichier)]";
$maxwidth = "80";
$imagehw = GetImageSize($logorub);
$imagewidth = $imagehw[0];
$imageheight = $imagehw[1];
if ($imagewidth > $maxwidth) {
$imageprop=($maxwidth*80)/$imagewidth;
$imagevsize= ($imageheight*$imageprop)/80;
$imagewidth=$maxwidth;
$imageheight=ceil($imagevsize);
}
?>
<img src="IMG/[(#LOGO_RUBRIQUE||fichier)]" width="<? echo $imagewidth
?>"height="<? echo $imageheight ?>" border="0">

?>

Bonjour, voici un script
(http://www.ecranbureau.com/accueil/article.php3?id_article=163) qui
permettrait de redimensionner les logos à l'echelle(TB!)- pb: je ne lis
pas le PHP "dans le texte" et il me renvoie un message d'erreur qu'il y
ai un logo ou qu'il n'y en ai pas...

Warning: getimagesize: Unable to open 'IMG/[(LOGO_ARTICLE|fichier)]' for
reading. in d:\mediatheque\3w\web
local\modelesq\CACHE\9\modele-rubrique-2.bd0285 on line 169
----
quelqu'un aurait une idée??