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