/trunk/modules/popup_galerie/PopupGalerie.php |
---|
73,7 → 73,8 |
private function extraireIdDeUrl($url) { |
$matches = array(); |
$formats = implode("|", $this->formats_possibles); |
preg_match('#cel-img:([0-9]*)('.$formats.')#', $url, $matches); |
//preg_match('#cel-img:([0-9]*)('.$formats.')#', $url, $matches); |
preg_match('#img:([0-9]*)('.$formats.')#', $url, $matches); // expèrons que ça va marcher |
return ltrim($matches[1],'0'); |
} |