/trunk/modules/fiche/formateurs/Illustrations.php |
---|
37,8 → 37,9 |
// Trop long, il faut un service spécial... |
$this->images->setProjet('cel'); |
$nns = $this->nomCourant->getNns(); |
$url = $this->images->getUrlPremiereImageParIdsNoms(array($nns)); |
$donnees['imageUrl'] = $url; |
$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nns)); |
$image = array_slice($infos_image['resultats'], 0); |
$donnees['imageUrl'] = $image[0]['binaire.href']; |
return $donnees; |
} |