PHP: Get Vimeo Thumbnail From Link
function video_image($url){
$image_url = parse_url($url);
$ch = curl_init('http://vimeo.com/api/v2/video/'.substr($image_url['path'], 1).'.php');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
$a = curl_exec($ch);
$hash = unserialize($a);
return $hash[0]["thumbnail_medium"];
}