if you want to post thumbnail image of youtube video in your website, this tip show how to get youtube video thumbnail / image in by php.
First you need to get youtube video id from you tube
URL https://www.youtube.com/watch?v=wXGQUfxguxI
$youtube_url = "http://www.youtube.com/watch?v=wXGQUfxguxI"; parse_str( parse_url( $youtube_url, PHP_URL_QUERY ) ); echo $v; // this will output wXGQUfxguxI
After you got youtube video id , Please try to do test following img url
http://img.youtube.com/vi/videoID/0.jpg
http://img.youtube.com/vi/videoID/1.jpg
http://img.youtube.com/vi/videoID/2.jpg
http://img.youtube.com/vi/videoID/3.jpg